aboutsummaryrefslogtreecommitdiff
path: root/rp/rcynic
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-11-18 07:25:09 +0000
committerRob Austein <sra@hactrn.net>2015-11-18 07:25:09 +0000
commit6c98d241fbb8e28c24b980dca0b8ce67891c4ca8 (patch)
treef3ec0ae4b146522ede33c5a114b48db22d4f931d /rp/rcynic
parentcbb1c240fb629c89760c26019d24717af965bfd7 (diff)
Move StatusCode out of POW.c. New API still needs work, but this
makes the C code considerably simpler. svn path=/branches/tk705/; revision=6180
Diffstat (limited to 'rp/rcynic')
-rwxr-xr-xrp/rcynic/rcynicng2
1 files changed, 1 insertions, 1 deletions
diff --git a/rp/rcynic/rcynicng b/rp/rcynic/rcynicng
index 61d83dc8..d6aaf56e 100755
--- a/rp/rcynic/rcynicng
+++ b/rp/rcynic/rcynicng
@@ -39,7 +39,7 @@ class Status(object):
return "{time} {self.uri} {status} {self.generation}".format(
self = self,
time = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(self.timestamp)),
- status = ",".join(s.name for s in sorted(self.status)))
+ status = ",".join(str(s) for s in sorted(self.status)))
@classmethod
def update(cls, uri, generation = None):