We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd6e7369 commit476f4deCopy full SHA for 476f4de
git/config.py
@@ -102,7 +102,7 @@ def needs_values(func: Callable[..., _T]) -> Callable[..., _T]:
102
"""Returns method assuring we read values (on demand) before we try to access them"""
103
104
@wraps(func)
105
-defassure_data_present(self:GitConfigParser,*args:Any,**kwargs:Any)->_T:
+defassure_data_present(self:'GitConfigParser',*args:Any,**kwargs:Any)->_T:
106
self.read()
107
returnfunc(self,*args,**kwargs)
108
# END wrapper method
@@ -114,7 +114,7 @@ def set_dirty_and_flush_changes(non_const_func: Callable[..., _T]) -> Callable[.
114
If so, the instance will be set dirty.
115
Additionally, we flush the changes right to disk"""
116
117
-defflush_changes(self:GitConfigParser,*args:Any,**kwargs:Any)->_T:
+defflush_changes(self:'GitConfigParser',*args:Any,**kwargs:Any)->_T:
118
rval=non_const_func(self,*args,**kwargs)
119
self._dirty=True
120
self.write()