Skip to content

Commit

Permalink
Update for SuperSQLite export
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Nov 9, 2018
1 parent 960877f commit f2d3bb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pymagnitude/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2772,7 +2772,7 @@ def create_key(self):
str(self.running_hit_amount),
str(int(self.time)),
str(self.id),
]) + '.rmsqlmmap'
]) + '.supersqlmmap'

def add_to_caches(self):
"""Adds self to the caches."""
Expand Down Expand Up @@ -2916,7 +2916,7 @@ def __init__(self, inheritfromvfsname, name, flags, vfs, options=None):
self.cache_dir = (
hashlib.md5(
self.url.encode('utf-8')).hexdigest() +
'_rmsqlmmap')
'_supersqlmmap')
self.cache_dir_path = os.path.join(self.temp_dir, self.cache_dir)
try:
os.makedirs(self.cache_dir_path + '/')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def install_wheel(whl):

def skip_wheel():
""" Checks if a wheel install should be skipped """
return "SKIP_MAGNITUDE_WHEEL" in os.environ
return "SKIP_" + PACKAGE_SHORT_NAME.upper() + "_WHEEL" in os.environ


def installed_wheel():
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('0', '1', '116')
__version_info__ = ('0', '1', '117')
__version__ = '.'.join(__version_info__)

0 comments on commit f2d3bb2

Please sign in to comment.