Revision 9621c777 snf-cyclades-app/synnefo/api/management/commands/cyclades-export-quota.py

b/snf-cyclades-app/synnefo/api/management/commands/cyclades-export-quota.py
40 40
class Command(NoArgsCommand):
41 41
    help = "Export account quota policies"
42 42
    option_list = NoArgsCommand.option_list + (
43
        make_option('--location',
44
                dest='location',
45
                default='exported_quota',
46
                help="Where to save the output file"),
43
        make_option(
44
            '--location',
45
            dest='location',
46
            default='exported_quota',
47
            help="Where to save the output file"),
47 48
    )
48 49

  
49 50
    def handle_noargs(self, **options):
......
65 66
            f.write('\n')
66 67
        for user, value in nets_per_user.items():
67 68
            f.write(' '.join([user, "cyclades.network.private", "%s" % value,
68
                            '0', '0', '0']))
69
                             '0', '0', '0']))
69 70
            f.write('\n')
70 71

  
71 72
        f.close()

Also available in: Unified diff