Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Mar 20, 2017
1 parent 01bdafe commit 58add87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_adjtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tools/addpromise.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 58add87

Please sign in to comment.