Skip to content

Commit 034f5c1

Browse files
committed
fixes pep8 W291 and W391
1 parent 6e48792 commit 034f5c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

code3/re12.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Search for lines that start with 'Details: rev='
1+
# Search for lines that start with 'Details: rev='
22
# followed by numbers and '.'
33
# Then print the number if it is greater than zero
44
import re
@@ -8,4 +8,3 @@
88
x = re.findall('^Details:.*rev=([0-9.]+)', line)
99
if len(x) > 0:
1010
print(x)
11-

0 commit comments

Comments
 (0)