aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordol-sen <brian.dolbec@gmail.com>2011-04-25 00:22:11 -0700
committerdol-sen <brian.dolbec@gmail.com>2011-04-25 00:22:11 -0700
commit9511938f41d56768087d726dff7cf019c9ef3ce6 (patch)
treec45c38c6ba5dc9719acbb122d327611cfe847e47
parentchange the masking status message. (diff)
downloadgentoolkit-9511938f41d56768087d726dff7cf019c9ef3ce6.tar.gz
gentoolkit-9511938f41d56768087d726dff7cf019c9ef3ce6.tar.bz2
gentoolkit-9511938f41d56768087d726dff7cf019c9ef3ce6.zip
move unused function to stuff.py
-rw-r--r--pym/gentoolkit/revdep_rebuild/rebuild.py7
-rw-r--r--pym/gentoolkit/revdep_rebuild/stuff.py10
2 files changed, 9 insertions, 8 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py
index 6c08f5b..e0ab7d1 100644
--- a/pym/gentoolkit/revdep_rebuild/rebuild.py
+++ b/pym/gentoolkit/revdep_rebuild/rebuild.py
@@ -71,13 +71,6 @@ def print_usage():
print 'and passed directly to emerge.'
-def _match_str_in_list(lst, stri):
- for l in lst:
- if stri.endswith(l):
- return l
- return False
-
-
def init_logger(settings):
"""Creates and iitializes our logger according to the settings"""
logger = logging.getLogger()
diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py
index 459301f..7b287b1 100644
--- a/pym/gentoolkit/revdep_rebuild/stuff.py
+++ b/pym/gentoolkit/revdep_rebuild/stuff.py
@@ -31,7 +31,6 @@ def scan(params, files, max_args):
return out
-
def exithandler(signum, frame):
sys.exit(1)
@@ -43,5 +42,14 @@ def get_masking_status(ebuild):
status = ['unavailable']
return status
+
+def _match_str_in_list(lst, stri):
+ for l in lst:
+ if stri.endswith(l):
+ return l
+ return False
+
+
+
if __name__ == '__main__':
print "There is nothing to run here."