Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: printing/cups_config_helper.py

Issue 7647025: cups-helper: split on newlines in cups helper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/cups_config_helper.py
diff --git a/printing/cups_config_helper.py b/printing/cups_config_helper.py
index c3ebbdfc5449bbed165c87aa00df9e5fb98228a4..3c1dd4164e6060e236f34f9369baf7fbb0a07d1f 100755
--- a/printing/cups_config_helper.py
+++ b/printing/cups_config_helper.py
@@ -32,7 +32,7 @@ def run_cups_config(mode):
flags = cups.communicate()[0].strip()
flags_subset = []
- for flag in flags.split(' '):
+ for flag in flags.split():
flag_mode = None
if flag.startswith('-l'):
flag_mode = '--libs'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698