コード例 #1
0
 def _bag_path(self, bag_name):
     try:
         return os.path.join(self._store_root(), _encode_filename(bag_name))
     except (AttributeError, StoreEncodingError), exc:
         raise NoBagError('No bag name: %s' % exc)
コード例 #2
0
 def _bag_path(self, bag_name):
     try:
         return os.path.join(self._store_root(), _encode_filename(bag_name))
     except (AttributeError, StoreEncodingError), exc:
         raise NoBagError('No bag name: %s' % exc)
コード例 #3
0
 def _recipe_path(self, recipe):
     return os.path.join(self._store_root(), _encode_filename(recipe.name) + '.recipe')
コード例 #4
0
 def _recipe_path(self, recipe):
     return os.path.join(self._store_root(), _encode_filename(recipe.name) + '.recipe')