aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Cody <codeman@gentoo.org>2005-10-09 21:51:29 +0000
committerPreston Cody <codeman@gentoo.org>2005-10-09 21:51:29 +0000
commit47b4a2f898431bfa96c0d6dcd7cc536600daff68 (patch)
tree7af7d0b9f4c4e6ccd508bf92bbe518c24435bf93 /src/GLIUtility.py
parentupdates to the ClientConfig webgli page and related handlers (diff)
downloadgli-47b4a2f898431bfa96c0d6dcd7cc536600daff68.tar.gz
gli-47b4a2f898431bfa96c0d6dcd7cc536600daff68.tar.bz2
gli-47b4a2f898431bfa96c0d6dcd7cc536600daff68.zip
Utility: remove exception for non-existant grppkgs.txt until the new livecd
goes public. network interface detection for webgli CC git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@958 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/GLIUtility.py')
-rw-r--r--src/GLIUtility.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GLIUtility.py b/src/GLIUtility.py
index 1a5b9ec..0456350 100644
--- a/src/GLIUtility.py
+++ b/src/GLIUtility.py
@@ -855,7 +855,8 @@ def uncdata(text):
def get_grp_pkgs_from_cd():
if not is_file("/usr/livecd/grppkgs.txt"):
- raise GLIException("GLIUtilityError", "fatal", "get_grp_pkgs_from_cd", "Required file /usr/livecd/grppkgs.txt does not exist")
+ return ""
+ #raise GLIException("GLIUtilityError", "fatal", "get_grp_pkgs_from_cd", "Required file /usr/livecd/grppkgs.txt does not exist")
status,output = spawn('cat /usr/livecd/grppkgs.txt',return_output=True)
output = output.split()
#remove the first part before a / for comparision