SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
comms/pterm/patches/patch-getkitver_py
Normal file
16
comms/pterm/patches/patch-getkitver_py
Normal file
|
@ -0,0 +1,16 @@
|
|||
Index: getkitver.py
|
||||
--- getkitver.py.orig
|
||||
+++ getkitver.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
@@ -12,5 +12,5 @@ for l in f:
|
||||
nums2 = [ ]
|
||||
for n in nums:
|
||||
nums2.append (int (n))
|
||||
- print "%d.%d.%d" % tuple (nums2)[:3]
|
||||
+ print("%d.%d.%d" % tuple (nums2)[:3])
|
||||
sys.exit (0)
|
Loading…
Add table
Add a link
Reference in a new issue