Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print fixer is not idempotent for span with multiple lines #112

Open
techtonik opened this issue Jan 25, 2015 · 0 comments
Open

print fixer is not idempotent for span with multiple lines #112

techtonik opened this issue Jan 25, 2015 · 0 comments

Comments

@techtonik
Copy link
Contributor

modernize 0.4

 def do_upload(workdir, package, bp_version, changes, upload, prompt):
-    print('Please check %s %s in file://%s carefully!' % \
-          (package, bp_version, workdir))
+    print(('Please check %s %s in file://%s carefully!' % \
+          (package, bp_version, workdir)))
     if prompt or upload == 'ubuntu':
         question = 'Do you want to upload the package to %s' % upload

Can't attach file, but it is here:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/ubuntu-dev-tools/vivid/view/81/backportpackage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants