support py3

Change-Id: Ied6e8c9bb44557677041854c6974929d7383a484
This commit is contained in:
Eyal 2016-04-12 15:33:54 +03:00
parent 60d480ca9b
commit bd3ca1f091
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ def normalize_branch(branch):
def configs_from_env():
configs = []
for k, v in os.environ.iteritems():
for k, v in os.environ.items():
if k.startswith('DEVSTACK_GATE_'):
if v not in FALSE_VALUES:
f = k.split('DEVSTACK_GATE_')[1]
@ -145,7 +145,7 @@ def main():
LOG.debug("Services: %s " % services)
if opts.mode == "services":
print ",".join(services)
print(",".join(services))
if __name__ == "__main__":