cwctl.py
changeset 10662 10942ed172de
parent 10614 57dfde80df11
child 10736 8d49849ec2a6
--- a/cwctl.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/cwctl.py	Tue Sep 15 16:15:03 2015 +0200
@@ -773,7 +773,7 @@
         vcconf = repo.get_versions()
         helper = self.config_helper(config, required=False)
         if self.config.force_cube_version:
-            for cube, version in self.config.force_cube_version.iteritems():
+            for cube, version in self.config.force_cube_version.items():
                 vcconf[cube] = Version(version)
         toupgrade = []
         for cube in config.cubes():
@@ -1049,7 +1049,7 @@
     def configure_instance(self, appid):
         if self.config.param is not None:
             appcfg = cwcfg.config_for(appid)
-            for key, value in self.config.param.iteritems():
+            for key, value in self.config.param.items():
                 try:
                     appcfg.global_set_option(key, value)
                 except KeyError: