Skip to content

Commit

Permalink
Fixed datetime import.
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed May 16, 2015
1 parent 10a70da commit 395a1da
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tiny-dhcp-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import struct
import codecs
import string
import datetime
import netifaces # from port net/py-netifaces
import tiny_utils as tu

Expand Down
1 change: 0 additions & 1 deletion tiny-udp-proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import socket,select
import array
import struct
import datetime
import random
import string
import signal
Expand Down
1 change: 1 addition & 0 deletions tiny_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import errno
import signal
import atexit
import datetime

def tm_log():
return datetime.datetime.now().strftime('[%Y-%m-%d %H:%M:%S %Z]')
Expand Down

0 comments on commit 395a1da

Please sign in to comment.