Skip to content

Commit c3095a6

Browse files
committed
ETLMananger: fixed python3 support issue in save_state & bumped version
1 parent 61b194c commit c3095a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

singular_api_client/etl_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def save_state(self):
191191
Commit the current state to disk
192192
"""
193193
logger.info("Saving state")
194-
pickle.dump(self.state, file(self.STATE_LOCATION, 'wb'))
194+
pickle.dump(self.state, open(self.STATE_LOCATION, 'wb'))
195195
return
196196

197197
@retry(wait_exponential_multiplier=1000, wait_exponential_max=60000,

singular_api_client/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.2"
1+
__version__ = "0.5.3"

0 commit comments

Comments
 (0)