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)
Beispiel #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)
 def _recipe_path(self, recipe):
     return os.path.join(self._store_root(), _encode_filename(recipe.name) + '.recipe')
Beispiel #4
0
 def _recipe_path(self, recipe):
     return os.path.join(self._store_root(), _encode_filename(recipe.name) + '.recipe')