[pitivi: 5/14] Ooops looks like i missed a __repr__.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi: 5/14] Ooops looks like i missed a __repr__.
- Date: Wed, 24 Jun 2009 13:10:40 +0000 (UTC)
commit d7262e02abd9a5a1c00c4e1570b1029c948dd400
Author: Alessandro Decina <alessandro d gmail com>
Date: Fri Jun 19 16:27:25 2009 +0200
Ooops looks like i missed a __repr__.
pitivi/device.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/device.py b/pitivi/device.py
index c985d63..5020f55 100644
--- a/pitivi/device.py
+++ b/pitivi/device.py
@@ -272,7 +272,7 @@ class AlsaSinkDeviceFactory(SinkDeviceFactory):
alsa.set_property("device", "hw:%d,%d" % (self._card, self._device))
return alsa
- def __repr__(self):
+ def __str__(self):
return "<%s: %s [hw:%s,%s]>" % (self.__class__.__name__,
self.displayname or self.name,
self._card, self._device)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]