fixed imports and indentation
authorForrest Voight <forrest@forre.st>
Mon, 12 Mar 2012 05:41:04 +0000 (01:41 -0400)
committerForrest Voight <forrest@forre.st>
Mon, 12 Mar 2012 05:44:29 +0000 (01:44 -0400)
p2pool/main.py
p2pool/util/pack.py
p2pool/web.py

index c62564a..a7cefb8 100644 (file)
@@ -5,7 +5,6 @@ import StringIO
 import argparse
 import os
 import random
-import struct
 import sys
 import time
 import signal
index c2d0ca1..c0c6f7d 100644 (file)
@@ -63,7 +63,7 @@ class Type(object):
         
         if p2pool.DEBUG:
             if self._pack(obj) != data:
-                    raise AssertionError()
+                raise AssertionError()
         
         return obj
     
index 1f266ac..a6d7e4f 100644 (file)
@@ -4,7 +4,6 @@ import cgi
 import json
 import os
 import time
-import types
 
 from twisted.internet import reactor, task
 from twisted.python import log
@@ -334,6 +333,6 @@ def get_web_root(tracker, current_work, current_work2, get_current_txouts, datad
         reactor.callLater(1, grapher.add_localrate_point, work, dead)
         if user is not None:
             reactor.callLater(1, grapher.add_localminer_point, user, work, dead)
-
+    
     
     return web_root