emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 0f6b10f 148/215: Add python3 shebang to fringe-utils.py


From: Rocky Bernstein
Subject: [elpa] master 0f6b10f 148/215: Add python3 shebang to fringe-utils.py
Date: Sat, 30 Jul 2016 14:49:01 +0000 (UTC)

branch: master
commit 0f6b10f0f94553acf1cf7ad09214c2e442ec4eeb
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>

    Add python3 shebang to fringe-utils.py
---
 realgud/common/fringe-utils.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/realgud/common/fringe-utils.py b/realgud/common/fringe-utils.py
old mode 100644
new mode 100755
index c344e50..784cdb0
--- a/realgud/common/fringe-utils.py
+++ b/realgud/common/fringe-utils.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 def bit2char(byte, offset):
     return "X" if byte & (1 << offset) else " "
 
@@ -14,7 +16,6 @@ def compile_bitmap(bmp_lines):
     bmp_bytes = []
     for line in bmp_lines:
         s = sum(char2bit(c, offset) for (offset, c) in enumerate(line))
-        print(s)
         bmp_bytes.append(s.to_bytes(1, byteorder="big"))
     return b"".join(bmp_bytes)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]