forked from platformio/platformio-core
Significantly improve Package Manager // Resolve #913
* Handle dependencies when installing non-registry package/library (VCS, archive, local folder)
This commit is contained in:
1 parent
41cea76603
commit
58942c3f38
13 files changed
+657
-433
No files matched your search
+6
-1
@@ -141,7 +141,12 @@ class memoized(object):
|
||||
|
||||
def __get__(self, obj, objtype):
|
||||
'''Support instance methods.'''
|
||||
return functools.partial(self.__call__, obj)
|
||||
fn = functools.partial(self.__call__, obj)
|
||||
fn.reset = self._reset
|
||||
return fn
|
||||
|
||||
def _reset(self):
|
||||
self.cache = {}
|
||||
|
||||
|
||||
def singleton(cls):
|
||||
|
||||
Reference in new issue
Block a user