summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Erdmann2012-06-26 15:39:51 (GMT)
committerAndré Erdmann2012-06-26 15:39:51 (GMT)
commit544b6f2f6668a3bb254209a7afe498f9925fe2cb (patch)
tree7115e54d3ed8034d877eb4031b1ad2f191cf5df5
parentc258c86810d08365116fda37acbbf476087e47bd (diff)
overlay creation: unused method stubs removed
modified: roverlay/overlay/creator.py
-rw-r--r--roverlay/overlay/creator.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/roverlay/overlay/creator.py b/roverlay/overlay/creator.py
index bbaaa8e..6d97d48 100644
--- a/roverlay/overlay/creator.py
+++ b/roverlay/overlay/creator.py
@@ -47,6 +47,8 @@ class OverlayCreator ( object ):
self._workers = None
self._runlock = threading.RLock()
+ self.package_add = self._pkg_queue.put
+
self.can_write_overlay = OVERLAY_WRITE_ALLOWED
# --- end of __init__ (...) ---
@@ -68,11 +70,6 @@ class OverlayCreator ( object ):
return _stop
# --- end of _timestamp (...) ---
- def add ( self, *to_add ):
- """Add a directory/package files/distdir to the package queue."""
- raise Exception ( "method stub" )
- # --- end of add (...) ---
-
def add_package_file ( self, package_file ):
"""Adds a single R package."""
self._pkg_queue.put ( PackageInfo ( filepath=package_file ) )
@@ -83,15 +80,6 @@ class OverlayCreator ( object ):
for p in package_files: self.add_package_file ( p )
# --- end of add_packages (...) ---
- def add_directory ( self, directory ):
- """Adds all packages from a directory to the package queue."""
- raise Exception ( "method stub" )
- # --- end of add_directory (...) ---
-
- def add_distdir ( self, repo_name ):
- """Adds a distfiles directory to the package queue."""
- self.add_directory ( config.get_or_fail ( [ 'DISTFILES', repo_name ] ) )
- # --- end of add_distdir (...) ---
def write_overlay ( self, incremental=False ):
"""Writes the overlay.