예제 #1
0
 def _load_juju_ignore(self):
     ignore = JujuIgnore(default_juju_ignore)
     path = self.charmdir / '.jujuignore'
     if path.exists():
         with path.open('r', encoding='utf-8') as ignores:
             ignore.extend_patterns(ignores)
     return ignore
예제 #2
0
 def _load_juju_ignore(self):
     ignore = JujuIgnore(default_juju_ignore)
     path = self.charmdir / ".jujuignore"
     if path.exists():
         with path.open("r", encoding="utf-8") as ignores:
             ignore.extend_patterns(ignores)
     return ignore