]> git.phdru.name Git - dotfiles.git/blobdiff - bin/koi2lat
Feat(bin): Port scripts to Python 3
[dotfiles.git] / bin / koi2lat
index e5cd63bea5308b20bce229b7e7fe3f5654d2773a..46871001968ed74b285dc673090466340121dab0 100755 (executable)
@@ -1,10 +1,8 @@
-#! /usr/bin/env python
-
+#! /usr/bin/env python3
 
 import sys
 from m_lib.rus import rus2lat
 
-
 for line in sys.stdin:
-   if line[-1] == '\n': line = line[:-1]
-   print rus2lat.rus2lat(line)
+    if line[-1] == '\n': line = line[:-1]
+    print(rus2lat.rus2lat(line))