cwctl.py
changeset 10614 57dfde80df11
parent 10603 65ad6980976e
child 10662 10942ed172de
--- a/cwctl.py	Thu Sep 17 09:52:06 2015 +0200
+++ b/cwctl.py	Tue Sep 15 15:33:47 2015 +0200
@@ -115,7 +115,7 @@
         _allinstances = list_instances(regdir)
         if isfile(join(regdir, 'startorder')):
             allinstances = []
-            for line in file(join(regdir, 'startorder')):
+            for line in open(join(regdir, 'startorder')):
                 line = line.strip()
                 if line and not line.startswith('#'):
                     try: