summaryrefslogtreecommitdiffstats
path: root/update.py
diff options
context:
space:
mode:
authorZhongyue Luo <lzyeval@gmail.com>2012-02-11 20:18:08 +0800
committerZhongyue Luo <lzyeval@gmail.com>2012-02-11 23:22:54 +0800
commit684ea9f2eef2926d3e5856eea124a47e475ff3ae (patch)
tree62d1ebebf3dcd3690e086fab01cc1124067e6fbb /update.py
parent2ad09351f3c4f69ffcae16815b76eb28cb07a9b7 (diff)
downloadoslo-684ea9f2eef2926d3e5856eea124a47e475ff3ae.tar.gz
oslo-684ea9f2eef2926d3e5856eea124a47e475ff3ae.tar.xz
oslo-684ea9f2eef2926d3e5856eea124a47e475ff3ae.zip
PEP8 cleanup (openstack-common)
Fixes bug #930625 Remove backslash continuations in openstack-common. Fix type checking taboos. Change-Id: I49ddb9ff5fa5af760dcfccb52cb4793b71e02f19
Diffstat (limited to 'update.py')
-rw-r--r--update.py6
1 files changed, 3 insertions, 3 deletions
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')