[Reproducible-commits] [diffoscope] 01/01: Revert "Fix path filtering in class files"
Reiner Herrmann
reiner at reiner-h.de
Wed Nov 25 21:33:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
deki-guest pushed a commit to branch master
in repository diffoscope.
commit 46994dab6ee352b13db5b57c8353e3e45cd90566
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Wed Nov 25 22:32:24 2015 +0100
Revert "Fix path filtering in class files"
This reverts commit ebe0618b41ce17710aecce25ca7fad62ad804831.
Commit 8e80686 contains a better/proper fix.
---
diffoscope/comparators/java.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/diffoscope/comparators/java.py b/diffoscope/comparators/java.py
index f261c88..abf9972 100644
--- a/diffoscope/comparators/java.py
+++ b/diffoscope/comparators/java.py
@@ -29,10 +29,7 @@ from diffoscope.difference import Difference
class Javap(Command):
def __init__(self, path, *args, **kwargs):
super().__init__(path, *args, **kwargs)
- if type(path) is bytes:
- self.real_path = os.path.realpath(path.decode('utf-8'))
- else:
- self.real_path = os.path.realpath(path)
+ self.real_path = os.path.realpath(path)
@tool_required('javap')
def cmdline(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list