summaryrefslogtreecommitdiffstats
path: root/cobbler/yumgen.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-05-13 15:45:13 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-05-13 15:45:13 -0400
commit480798fdccd1d0bb5c4b160333f0933dc463053e (patch)
tree952b71b3262bf9f5a32474711b1126439b259316 /cobbler/yumgen.py
parent045957209b62b2ab40a1bcdee0549ea54074bc48 (diff)
downloadthird_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.tar.gz
third_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.tar.xz
third_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.zip
Consolidate various repo related warnings under cobbler check and clean up prints elsewhere.
Diffstat (limited to 'cobbler/yumgen.py')
-rw-r--r--cobbler/yumgen.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cobbler/yumgen.py b/cobbler/yumgen.py
index e39a72e..8c10be3 100644
--- a/cobbler/yumgen.py
+++ b/cobbler/yumgen.py
@@ -98,7 +98,9 @@ class YumGen:
try:
infile_h = open(infile)
except:
- print _("WARNING: cobbler reposync needs to be run on repo (%s), then re-run cobbler sync") % dispname
+ # file does not exist and the user needs to run reposync
+ # before we will use this, cobbler check will mention
+ # this problem
continue
infile_data = infile_h.read()
infile_h.close()