diff options
-rw-r--r-- | g_common/g_common.py | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/g_common/g_common.py b/g_common/g_common.py index 90fecfa..d499721 100644 --- a/g_common/g_common.py +++ b/g_common/g_common.py @@ -59,28 +59,21 @@ def action_sync(repo_location,driver,remote_uri): cfg_file.write('uri='+remote_uri+'\n') cfg_file.close() - return verbose_system(driver_conf['exec']+" "+repo_location+" sync "+remote_uri) + return os.system(driver_conf['exec']+" "+repo_location+" sync "+remote_uri) #list categories in this repositorie def list_categories(repo_location): repo_conf=read_repo_config(repo_location) driver_conf=read_driver_config(repo_conf['driver']) - if remote_uri is None: - remote_uri=repo_conf['uri'] - - return verbose_system(driver_conf['exec']+" "+repo_location+" list-categories") + return os.system(driver_conf['exec']+" "+repo_location+" list-categories") #idem ditto def list_packages(repo_location): repo_conf=read_repo_config(repo_location) driver_conf=read_driver_config(repo_conf['driver']) - if remote_uri is None: - remote_uri=repo_conf['uri'] - - return verbose_system(driver_conf['exec']+" "+repo_location+" list-packages") - + return os.system(driver_conf['exec']+" "+repo_location+" list-packages") #generate a tree of ebuilds... note that we only link ebuild files, instead of generating them #we will, however, generate metadata.xml and Manifest files @@ -112,10 +105,7 @@ def action_package(repo_location,package_name): repo_conf=read_repo_config(repo_location) driver_conf=read_driver_config(repo_conf['driver']) - if remote_uri is None: - remote_uri=repo_conf['uri'] - - return verbose_system(driver_conf['exec']+" "+repo_location+" package "+package_name) + return os.system(driver_conf['exec']+" "+repo_location+" package "+package_name) def usage(): print __doc__ |