1515# tx_Source is associated with the same ticket.
1616
1717from __future__ import print_function
18- import time as time
18+
1919
2020def tx_SourceCheckAudit (db , cl , nodeid , newvalues ):
2121 ''' An auditor to print the value of the source of the
@@ -34,7 +34,8 @@ def tx_SourceCheckAudit(db, cl, nodeid, newvalues):
3434 signature is used
3535 '''
3636 if __debug__ and False :
37- print ("\n tx_SourceCheckAudit(%s) db.tx_Source: %s" % (nodeid , db .tx_Source ))
37+ print ("\n tx_SourceCheckAudit(%s) db.tx_Source: %s" % (
38+ nodeid , db .tx_Source ))
3839
3940 newvalues ['tx_Source' ] = db .tx_Source
4041
@@ -44,6 +45,7 @@ def tx_SourceCheckAudit(db, cl, nodeid, newvalues):
4445 # if db.tx_Source == "email":
4546 # raise Reject, 'Change not allowed via email'
4647
48+
4749def tx_SourceCheckReact (db , cl , nodeid , oldvalues ):
4850 ''' An reactor to print the value of the source of the
4951 transaction that trigger this change. The sleep call
@@ -62,8 +64,8 @@ def tx_SourceCheckReact(db, cl, nodeid, oldvalues):
6264 '''
6365
6466 if __debug__ and False :
65- print (" tx_SourceCheckReact(%s) db.tx_Source: %s" % ( nodeid , db . tx_Source ))
66-
67+ print (" tx_SourceCheckReact(%s) db.tx_Source: %s" % (
68+ nodeid , db . tx_Source ))
6769
6870
6971def init (db ):
0 commit comments