diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 03:14:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 03:14:35 +0300 |
commit | 460822ea6cef840e0f478918547a806b231c3dc6 (patch) | |
tree | 729118f0273a182b62628aae87ae8c9fe9b5f1c2 /hercules/code/clienttoserver/maps.py | |
parent | d3648ee52a4860111afe9049713d788f60e5b588 (diff) | |
download | evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.gz evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.bz2 evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.tar.xz evol-tools-460822ea6cef840e0f478918547a806b231c3dc6.zip |
Fix different issues in tools found by pyflakes.
Diffstat (limited to 'hercules/code/clienttoserver/maps.py')
-rw-r--r-- | hercules/code/clienttoserver/maps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py index ee98ed1..b8ee14c 100644 --- a/hercules/code/clienttoserver/maps.py +++ b/hercules/code/clienttoserver/maps.py @@ -11,7 +11,7 @@ import struct import StringIO from xml.dom import minidom -from code.fileutils import * +from code.fileutils import makeDir, writeInt16, writeInt32, writeMapName, writeData def getTmxFiles(srcDir): names = [] @@ -150,7 +150,7 @@ def recreateMapCache(): print "map format not supported: " + fileName continue - comp = zlib.compressobj() + #comp = zlib.compressobj() binData = struct.pack(str(len(tiles))+"B", *tiles) binData = zlib.compress(binData) idx = fileName.rfind("/") + 1 |