All of lore.kernel.org
 help / color / mirror / Atom feed
* master - lvmdbustest.py: Use more compatible syntax
@ 2016-10-11 18:18 tasleson
  0 siblings, 0 replies; only message in thread
From: tasleson @ 2016-10-11 18:18 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=595af62ebd8eca6b95266f617df67528f3b70fd8
Commit:        595af62ebd8eca6b95266f617df67528f3b70fd8
Parent:        4fab8339207fd8846e04e775897a7ba7a3cd074c
Author:        Tony Asleson <tasleson@redhat.com>
AuthorDate:    Tue Oct 11 10:43:41 2016 -0500
Committer:     Tony Asleson <tasleson@redhat.com>
CommitterDate: Tue Oct 11 13:16:57 2016 -0500

lvmdbustest.py: Use more compatible syntax

---
 test/dbus/lvmdbustest.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index d222264..1991c94 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -29,8 +29,9 @@ else:
 	bus = dbus.SystemBus(mainloop=DBusGMainLoop())
 
 
-def std_err_print(*args, **kwargs):
-	print(*args, file=sys.stderr, **kwargs)
+def std_err_print(*args):
+	sys.stderr.write(' '.join(map(str, args)) + '\n')
+	sys.stderr.flush()
 
 
 def get_objects():



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-11 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11 18:18 master - lvmdbustest.py: Use more compatible syntax tasleson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.