summaryrefslogtreecommitdiff
path: root/hercules/code/server/storage.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 03:14:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 03:14:35 +0300
commit460822ea6cef840e0f478918547a806b231c3dc6 (patch)
tree729118f0273a182b62628aae87ae8c9fe9b5f1c2 /hercules/code/server/storage.py
parentd3648ee52a4860111afe9049713d788f60e5b588 (diff)
downloadtools-460822ea6cef840e0f478918547a806b231c3dc6.tar.gz
tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.bz2
tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.xz
tools-460822ea6cef840e0f478918547a806b231c3dc6.zip
Fix different issues in tools found by pyflakes.
Diffstat (limited to 'hercules/code/server/storage.py')
-rw-r--r--hercules/code/server/storage.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/hercules/code/server/storage.py b/hercules/code/server/storage.py
index a8d5802..6bddb52 100644
--- a/hercules/code/server/storage.py
+++ b/hercules/code/server/storage.py
@@ -5,9 +5,9 @@
import re
-from code.fileutils import *
-from code.stringutils import *
-from code.server.dbitem import *
+from code.fileutils import readFile
+from code.stringutils import stripNewLine
+from code.server.dbitem import Item
def convertStorage():
srcFile = "olddb/storage.txt"
@@ -33,7 +33,7 @@ def convertStorage():
tmp = comaSplit.split(rows[0])
accountId = tmp[0]
- storage_amount = tmp[1]
+# storage_amount = tmp[1]
data = spaceSplit.split(rows[1])
for itemStr in data: