Skip to content
Browse files

removed superfluous imports

  • Loading branch information...
1 parent 0d10c5d commit dc4d63cee71e05421297618d1366185bec770e9f @lirazsiri lirazsiri committed Aug 8, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −2 dummyhub.py
  2. +0 −1 squid.py
View
2 dummyhub.py
@@ -66,8 +66,6 @@ def __init__(self, uid, apikey):
self.backups_max = 0
def subscribe(self):
- import random
-
accesskey = base64.b64encode(sha("%d" % self.uid).digest())[:20]
secretkey = base64.b64encode(os.urandom(30))[:40]
producttoken = "{ProductToken}" + base64.b64encode("\x00" + os.urandom(2) + "AppTkn" + os.urandom(224))
View
1 squid.py
@@ -4,7 +4,6 @@
import command
import signal
-import time
import errno

0 comments on commit dc4d63c

Please sign in to comment.
Something went wrong with that request. Please try again.