From 684ea9f2eef2926d3e5856eea124a47e475ff3ae Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Sat, 11 Feb 2012 20:18:08 +0800 Subject: PEP8 cleanup (openstack-common) Fixes bug #930625 Remove backslash continuations in openstack-common. Fix type checking taboos. Change-Id: I49ddb9ff5fa5af760dcfccb52cb4793b71e02f19 --- update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'update.py') diff --git a/update.py b/update.py index ba7b7e7..f5e6669 100644 --- a/update.py +++ b/update.py @@ -40,7 +40,7 @@ Or: Where ../myproj is a project directory which contains a differently named configuration file, or: - $> python update.py --config-file ../myproj/myproj/openstack/common.conf \ + $> python update.py --config-file ../myproj/myproj/openstack/common.conf --dest-dir ../myproj Where ../myproject is a project directory, but the configuration file is @@ -136,8 +136,8 @@ def _copy_file(path, base, dest_dir): def _copy_module(mod, base, dest_dir): - print "Copying openstack.common.%s under the %s module in %s" % \ - (mod, base, dest_dir) + print ("Copying openstack.common.%s under the %s module in %s" % + (mod, base, dest_dir)) if '.' in mod: path = _mod_to_path('openstack.common') -- cgit