diff idavoll/tap.py @ 156:6250905b72f6

Fix spacing errors. Do 0.5.0 release.
author Ralph Meijer <ralphm@ik.nu>
date Mon, 28 Aug 2006 12:44:20 +0000
parents 5191ba7c4df8
children 1701c0e2c707
line wrap: on
line diff
--- a/idavoll/tap.py	Mon Aug 21 16:05:35 2006 +0000
+++ b/idavoll/tap.py	Mon Aug 28 12:44:20 2006 +0000
@@ -7,24 +7,24 @@
 import idavoll
 
 class Options(usage.Options):
-	optParameters = [
-		('jid', None, 'pubsub'),
-		('secret', None, 'secret'),
-		('rhost', None, '127.0.0.1'),
-		('rport', None, '5347'),
-		('backend', None, 'memory'),
-		('dbuser', None, ''),
-		('dbname', None, 'pubsub'),
-	]
+    optParameters = [
+        ('jid', None, 'pubsub'),
+        ('secret', None, 'secret'),
+        ('rhost', None, '127.0.0.1'),
+        ('rport', None, '5347'),
+        ('backend', None, 'memory'),
+        ('dbuser', None, ''),
+        ('dbname', None, 'pubsub'),
+    ]
 
-	optFlags = [
-		('verbose', 'v', 'Show traffic'),
-		('hide-nodes', None, 'Hide all nodes for disco')
-	]
-	
-	def postOptions(self):
-		if self['backend'] not in ['pgsql', 'memory']:
-			raise usage.UsageError, "Unknown backend!"
+    optFlags = [
+        ('verbose', 'v', 'Show traffic'),
+        ('hide-nodes', None, 'Hide all nodes for disco')
+    ]
+    
+    def postOptions(self):
+        if self['backend'] not in ['pgsql', 'memory']:
+            raise usage.UsageError, "Unknown backend!"
 
 def makeService(config):
-	return idavoll.makeService(config)
+    return idavoll.makeService(config)