server/migractions.py
branchstable
changeset 4721 8f63691ccb7f
parent 4719 aaed3f813ef8
child 4763 81b0df087375
child 4893 15ae9a33a7f2
--- a/server/migractions.py	Fri Feb 26 13:21:13 2010 +0100
+++ b/server/migractions.py	Fri Feb 26 13:24:47 2010 +0100
@@ -155,7 +155,7 @@
             else:
                 bkup = tarfile.open(backupfile, 'w|gz')
                 for filename in os.listdir(tmpdir):
-                    bkup.add(osp.join(tmpdir,filename), filename)
+                    bkup.add(osp.join(tmpdir, filename), filename)
                 bkup.close()
                 # call hooks
                 repo.hm.call_hooks('server_backup', repo=repo, timestamp=timestamp)
@@ -731,7 +731,7 @@
                         if (rschema.rdef(subjschema, objschema).infered
                             or (instschema.has_relation(rschema) and
                                 (subjschema, objschema) in instschema[rschema].rdefs)):
-                                continue
+                            continue
                         self.cmd_add_relation_definition(
                             subjschema.type, rschema.type, objschema.type)
         if auto: