コード例 #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