cas | 6 +++---
cas.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit b5e91eed39187d786569cf5e9ba0e13ab93d8143
Author: Adam Stokes <ajs(a)redhat.com>
Date: Wed Jan 14 13:28:04 2009 -0500
- extended timestamp for directory hierarchy
diff --git a/cas b/cas
index 057b383..319ca7b 100755
--- a/cas
+++ b/cas
@@ -121,7 +121,7 @@ class TimestampHandler(object):
debugKernel, timestamp = coreObj
if timestamp and coreTimestamp in timestamp:
return (k, debugKernel)
- self.casLog.debug("Unable to match timestamp %s/%s" %
(timestamp,debugKernel))
+ self.casLog.debug("Unable to match timestamp %s" % (coreTimestamp,))
sys.exit(1)
class CasApplication(object):
@@ -156,9 +156,9 @@ class CasApplication(object):
self.email = self.opts.email
self.extractKernelModules = self.opts.kernel_modules
# we want to allow for multiple cores under same identifier
- # so we base the hierarchy /workDirectory/identifyer/datetime
+ # so we base the hierarchy /workDirectory/identifier/datetime
datenow = datetime.now()
- dateFormatted = datenow.strftime("%I.%M.%S")
+ dateFormatted = datenow.strftime("%m.%d.%y.%I.%M.%S")
self.storagePath = os.path.join(WORKDIRECTORY, self.identifier)
self.storagePath = os.path.join(self.storagePath, dateFormatted)
diff --git a/cas.spec b/cas.spec
index 8f97070..b0ab6ef 100644
--- a/cas.spec
+++ b/cas.spec
@@ -3,7 +3,7 @@
Name: cas
Summary: Tool to analyze and configure core file environment
Version: 0.13
-Release: 117%{?dist}
+Release: 118%{?dist}
Source0:
https://fedorahosted.org/releases/c/a/cas/%{name}-%{version}.tar.gz
License: GPLv3+
Group: Development/Libraries