[virt-tools-list] [virt-manager PATCH 1/3] pylint: Don't use space after 'print'

Martin Kletzander mkletzan at redhat.com
Wed Feb 12 16:52:54 UTC 2014


Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 setup.py                    | 6 +++---
 virtManager/autodrawer.py   | 6 +++---
 virtManager/graphwidgets.py | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/setup.py b/setup.py
index 50955d7..055e218 100755
--- a/setup.py
+++ b/setup.py
@@ -234,9 +234,9 @@ class my_install(install):
                 print "Using prefix from 'configure': %s" % cliconfig.prefix
                 self.prefix = cliconfig.prefix
         elif self.prefix != cliconfig.prefix:
-            print ("Install prefix=%s doesn't match configure prefix=%s\n"
-                   "Pass matching --prefix to 'setup.py configure'" %
-                   (self.prefix, cliconfig.prefix))
+            print("Install prefix=%s doesn't match configure prefix=%s\n"
+                  "Pass matching --prefix to 'setup.py configure'" %
+                  (self.prefix, cliconfig.prefix))
             sys.exit(1)

         install.finalize_options(self)
diff --git a/virtManager/autodrawer.py b/virtManager/autodrawer.py
index abf0397..5ac76c9 100644
--- a/virtManager/autodrawer.py
+++ b/virtManager/autodrawer.py
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2011, 2013 Red Hat, Inc.
+# Copyright (C) 2011, 2013, 2014 Red Hat, Inc.
 # Copyright (C) 2011 Cole Robinson <crobinso at redhat.com>
 #
 # Python implementation of autodrawer, originally found in vinagre sources:
@@ -37,8 +37,8 @@ from virtManager import uiutil

 def rect_print(name, rect):
     # For debugging
-    print ("%s: height=%d, width=%d, x=%d, y=%d" %
-           (name, rect.height, rect.width, rect.x, rect.y))
+    print("%s: height=%d, width=%d, x=%d, y=%d" %
+          (name, rect.height, rect.width, rect.x, rect.y))


 class OverBox(Gtk.Box):
diff --git a/virtManager/graphwidgets.py b/virtManager/graphwidgets.py
index c071477..9742c20 100644
--- a/virtManager/graphwidgets.py
+++ b/virtManager/graphwidgets.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2013 Red Hat, Inc.
+# Copyright (C) 2013, 2014 Red Hat, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,8 +28,8 @@ from gi.repository import Gtk

 def rect_print(name, rect):
     # For debugging
-    print ("%s: height=%d, width=%d, x=%d, y=%d" %
-           (name, rect.height, rect.width, rect.x, rect.y))
+    print("%s: height=%d, width=%d, x=%d, y=%d" %
+          (name, rect.height, rect.width, rect.x, rect.y))


 def _line_helper(cairo_ct, x, y, w, h, points, for_fill=False):
-- 
1.8.5.4




More information about the virt-tools-list mailing list