~ubuntu-branches/ubuntu/utopic/telepathy-mission-control-5/utopic-proposed

« back to all changes in this revision

Viewing changes to tests/twisted/account-manager/make-valid.py

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2013-01-10 11:07:51 UTC
  • mfrom: (0.13.5)
  • Revision ID: package-import@ubuntu.com-20130110110751-fzge1h4wgrwqu1zi
Tags: 1:5.14.0-0ubuntu1
* New upstream release
* debian/control:
  - Use standards version 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
    accounts_dir = os.environ['MC_ACCOUNT_DIR']
42
42
 
 
43
    try:
 
44
        os.mkdir(accounts_dir, 0700)
 
45
    except OSError:
 
46
        pass
 
47
 
43
48
    # The passwords are missing, so the accounts can't connect yet.
44
49
    accounts_cfg = open(accounts_dir + '/accounts.cfg', 'w')
45
50
    accounts_cfg.write("""# Telepathy accounts