[python-eyed3] Use tabs.

Brian Pepple bpepple at fedoraproject.org
Fri Jan 27 18:24:45 UTC 2012


commit 7647273d068c1f7dfc5b1346519c83079445a6d2
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Fri Jan 27 13:24:30 2012 -0500

    Use tabs.

 eyed3-fix-empty-usertextframes.patch |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/eyed3-fix-empty-usertextframes.patch b/eyed3-fix-empty-usertextframes.patch
index 3752524..4cd0461 100644
--- a/eyed3-fix-empty-usertextframes.patch
+++ b/eyed3-fix-empty-usertextframes.patch
@@ -1,15 +1,15 @@
 diff -urp eyeD3-0.6.18.OLD/src/eyeD3/frames.py eyeD3-0.6.18/src/eyeD3/frames.py
 --- eyeD3-0.6.18.OLD/src/eyeD3/frames.py	2011-11-24 23:37:44.000000000 -0500
-+++ eyeD3-0.6.18/src/eyeD3/frames.py	2012-01-27 13:03:37.914347510 -0500
++++ eyeD3-0.6.18/src/eyeD3/frames.py	2012-01-27 13:22:41.974411766 -0500
 @@ -2163,7 +2163,10 @@ class FrameSet(list):
  # description and its text.
  def splitUnicode(data, encoding):
      if encoding == LATIN1_ENCODING or encoding == UTF_8_ENCODING:
 -        retval = data.split("\x00", 1)
 +		ret = data.split("\x00", 1);
-+        if len(ret) != 2:
-+            ret.append("")
-+        return ret
++		if len(ret) != 2:
++			ret.append("")
++		return ret
      elif encoding == UTF_16_ENCODING or encoding == UTF_16BE_ENCODING:
          # Two null bytes split, but since each utf16 char is also two 
          # bytes we need to ensure we found a proper boundary.


More information about the scm-commits mailing list