diff options
author | elie <elie> | 2013-04-17 20:32:36 +0000 |
---|---|---|
committer | elie <elie> | 2013-04-17 20:32:36 +0000 |
commit | 4de9e314b3591a2643755afb9f4b923c564becfb (patch) | |
tree | 6bc46f44fe3d397ae1b6ec70abd5de0de085afbf /pysnmp/debug.py | |
parent | be4a86abf29cd046ec74ffc375568e414f25d4cc (diff) | |
download | pysnmp-4de9e314b3591a2643755afb9f4b923c564becfb.tar.gz |
format subseconds
Diffstat (limited to 'pysnmp/debug.py')
-rw-r--r-- | pysnmp/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/debug.py b/pysnmp/debug.py index ab00286..2dc33c0 100644 --- a/pysnmp/debug.py +++ b/pysnmp/debug.py @@ -65,7 +65,7 @@ class Debug: def timestamp(self): return time.strftime('%H:%M:%S', time.localtime()) + \ - '.%s' % int((time.time() % 1) * 1000) + '.%.3d' % int((time.time() % 1) * 1000) # This will yield false from bitwise and with a flag, and save # on unnecessary calls |