Skip to content

Commit

Permalink
Fixed TemporaryFile calling
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSoft committed Jun 1, 2016
1 parent dd4359a commit 72a41a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pbpack.py
Expand Up @@ -37,9 +37,9 @@ def pack(resources, pbfile):

timestamp = int(time.time())

with TemporaryFile('manifest') as tmp_manifest, \
TemporaryFile('table') as tmp_table, \
TemporaryFile('data') as tmp_data:
with TemporaryFile(suffix='.manifest') as tmp_manifest, \
TemporaryFile(suffix='.table') as tmp_table, \
TemporaryFile(suffix='.data') as tmp_data:

table(tmp_table, resources)

Expand Down

0 comments on commit 72a41a4

Please sign in to comment.