Browse Source

Code indentation fix

Maurizio Porrato 7 years ago
parent
commit
345a13edc2
1 changed files with 15 additions and 15 deletions
  1. 15
    15
      manager.py

+ 15
- 15
manager.py View File

@@ -14,27 +14,27 @@ from frn.user import FRNUser
14 14
 from twisted.python import log
15 15
 
16 16
 if __name__ == '__main__':
17
-	import sys
17
+    import sys
18 18
 
19
-	log.startLogging(sys.stderr)
19
+    log.startLogging(sys.stderr)
20 20
 
21
-	def dummyManagerFactory():
22
-		log.msg("Building DummyManager")
23
-		return DummyManager()
21
+    def dummyManagerFactory():
22
+        log.msg("Building DummyManager")
23
+        return DummyManager()
24 24
 
25
-	def remoteManagerFactory():
26
-		log.msg("Building RemoteManager")
27
-		return RemoteManager(reactor)
25
+    def remoteManagerFactory():
26
+        log.msg("Building RemoteManager")
27
+        return RemoteManager(reactor)
28 28
 
29 29
     pool = ConnectionPool("sqlite3", "/dev/shm/frnmanager.sqlite3", check_same_thread=False, cp_noisy=True)
30 30
 
31
-	def databaseManagerFactory():
32
-		log.msg("Building DatabaseManager")
33
-		return DatabaseManager(pool)
31
+    def databaseManagerFactory():
32
+        log.msg("Building DatabaseManager")
33
+        return DatabaseManager(pool)
34 34
 
35
-	reactor.listenTCP(10025, FRNManagerServerFactory(
36
-		databaseManagerFactory
37
-	))
38
-	reactor.run()
35
+    reactor.listenTCP(10025, FRNManagerServerFactory(
36
+        databaseManagerFactory
37
+    ))
38
+    reactor.run()
39 39
 
40 40
 # vim: set et ai sw=4 ts=4 sts=4:

Loading…
Cancel
Save