Skip to content

Commit f6d52b0

Browse files
authored
Merge pull request #29 from AzureAD/release-0.1.1
Release 0.1.1
2 parents efdfeba + 1876658 commit f6d52b0

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

msal_extensions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Provides auxiliary functionality to the `msal` package."""
2-
__version__ = "0.1.0"
2+
__version__ = "0.1.1"
33

44
import sys
55

msal_extensions/token_cache.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@ def _read(self):
7777
with open(self._cache_location, 'r') as handle:
7878
return handle.read()
7979

80-
def add(self, event, **kwargs):
81-
with CrossPlatLock(self._lock_location):
82-
if self._needs_refresh():
83-
try:
84-
self.deserialize(self._read())
85-
except IOError as exp:
86-
if exp.errno != errno.ENOENT:
87-
raise
88-
super(FileTokenCache, self).add(event, **kwargs) # pylint: disable=duplicate-code
89-
self._write(self.serialize())
90-
self._last_sync = os.path.getmtime(self._cache_location)
91-
9280
def modify(self, credential_type, old_entry, new_key_value_pairs=None):
9381
with CrossPlatLock(self._lock_location):
9482
if self._needs_refresh():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'Development Status :: 2 - Pre-Alpha',
1717
],
1818
install_requires=[
19-
'msal~=0.4',
19+
'msal>=0.4.1,<0.6.0',
2020
'portalocker~=1.0',
2121
],
2222
tests_require=['pytest'],

0 commit comments

Comments
 (0)