Permalink
Browse files

fix print

  • Loading branch information...
ligurio committed Mar 20, 2017
1 parent 01bdafe commit 58add872ac93c92b0e78081a59b3daf32331cc4b
Showing with 3 additions and 3 deletions.
  1. +2 −2 tests/test_adjtime.py
  2. +1 −1 tools/addpromise.py
View
@@ -7,11 +7,11 @@
@pytest.mark.skipif(osname != "OpenBSD")
def test_adjtime():
service("ntpd", "start")
- print "Sync time"
+ print("Sync time")
proc = subprocess.Popen(["ntpd", "-s"])
proc.wait()
service("ntpd", "stop")
- print "Move time forward for 5 minutes"
+ print("Move time forward for 5 minutes")
# time=`date "+ %M"`
# date $(($time+5)) > /dev/null 2>&1 && date "+ %H:%M"
print "Validate adjustment"
View
@@ -30,7 +30,7 @@ def main():
line = line.rstrip()
pledge_match = re.findall(".*pledge\(\"(.*)\",.*\)", line)
pledge_num = len(pledge_match)
- print filename, ":", pledge_match
+ print(filename, ":", pledge_match)
if pledge_num > 0:
for p in promise:
promise_match = re.findall(

0 comments on commit 58add87

Please sign in to comment.