diff options
author | Zhongyue Luo <lzyeval@gmail.com> | 2012-02-11 20:18:08 +0800 |
---|---|---|
committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-02-11 23:22:54 +0800 |
commit | 684ea9f2eef2926d3e5856eea124a47e475ff3ae (patch) | |
tree | 62d1ebebf3dcd3690e086fab01cc1124067e6fbb /update.py | |
parent | 2ad09351f3c4f69ffcae16815b76eb28cb07a9b7 (diff) | |
download | oslo-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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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') |