git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8e6bce5
)
include date in timestamps
author
Forrest Voight
<forrest.voight@gmail.com>
Thu, 5 Jan 2012 08:40:10 +0000 (
03:40
-0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Thu, 5 Jan 2012 08:40:10 +0000 (
03:40
-0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
3fdfeb2
..
8b80de8
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-892,7
+892,7
@@
def run():
buf = self.buf + data
lines = buf.split('\n')
for line in lines[:-1]:
- self.inner_file.write('%s %s\n' % (datetime.datetime.now().strftime("%H:%M:%S.%f"), line))
+ self.inner_file.write('%s %s\n' % (datetime.datetime.now(), line))
self.inner_file.flush()
self.buf = lines[-1]
def flush(self):