aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 15:03:52 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 15:03:52 +0000
commit72cfbdae0df2ab6e727ffe5249723546f268807f (patch)
treef2004f212736654280bfbc77713bebee81973955 /src/sosreport
parentb6b73641724adb0bb6bd49c80c36fe1e99c987b4 (diff)
downloadsos-72cfbdae0df2ab6e727ffe5249723546f268807f.tar.gz
added changelog entries to spec file
raiseplugs = 0 oops in yum.py git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@309 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sosreport b/src/sosreport
index 62ceaa10..876c1df4 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -85,7 +85,7 @@ signal.signal(signal.SIGTERM, exittermhandler)
## multiple SIGTERMs.
# for debugging
-__raisePlugins__ = 1
+__raisePlugins__ = 0
class OptionParser_extended(OptionParser):
def print_help(self):
@@ -635,7 +635,10 @@ Press ENTER to continue, or CTRL-C to quit.
for plugname, plug in loadedplugins:
for oneFile in plug.copiedFiles:
- xmlrep.add_file(oneFile["srcpath"], os.stat(oneFile["srcpath"]))
+ try:
+ xmlrep.add_file(oneFile["srcpath"], os.stat(oneFile["srcpath"]))
+ except:
+ pass
xmlrep.serialize_to_file(rptdir + "/sosreport.xml")