cas | 2 +-
cas.spec | 3 ++-
lib/cas/db.py | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 1763f66700e16a77f2f988fe14236fe4d8f14b5b
Author: Adam Stokes <adam.stokes(a)gmail.com>
Date: Fri Apr 24 21:34:24 2009 -0400
- small changes to sql statement
- altered a server selection var
diff --git a/cas b/cas
index 29de5ba..e380203 100755
--- a/cas
+++ b/cas
@@ -266,7 +266,7 @@ class CasApplication(object):
if arch == debugKernelArch:
# TODO: Randomize server selection
# TODO: Verify remote server is reachable
- casProcessMachine = serverList[debugKernelArch][0]
+ casProcessMachine = hostname
self.casLog.info("Machine %s found, processing " \
"crash output" %
(casProcessMachine,))
cmd = "cd " + os.path.join(self.storagePath) +
" && ./crash -i crash.in > crash.out"
diff --git a/cas.spec b/cas.spec
index 826d91d..fe6936b 100644
--- a/cas.spec
+++ b/cas.spec
@@ -3,7 +3,7 @@
Name: cas
Summary: Tool to analyze and configure core file environment
Version: 0.14
-Release: 2%{?dist}
+Release: 3%{?dist}
Source0:
https://fedorahosted.org/releases/c/a/cas/%{name}-%{version}.tar.gz
License: GPLv3+
Group: Development/Libraries
@@ -56,6 +56,7 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Fri Apr 24 2009 Adam Stokes <ajs at redhat dot com> - 0.14-2
- Finalizing sqlite implementation
+- added AUTHORS
* Thu Apr 2 2009 Scott Dodson <sdodson at sdodson dot com > - 0.14-1
- Spec file changes to handle the snippets directory
diff --git a/lib/cas/db.py b/lib/cas/db.py
index 717829c..9826dd9 100644
--- a/lib/cas/db.py
+++ b/lib/cas/db.py
@@ -125,5 +125,5 @@ class CasStorage(object):
return
def getServers(self):
- self.cursor.execute('select * from server')
+ self.cursor.execute('select hostname, arch from server')
return self.cursor.fetchall()