From: Christos Zoulas Date: Tue, 3 Jun 2014 20:40:31 +0000 (+0000) Subject: remove stray g. X-Git-Tag: FILE5_19~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a193d3d28164f28ec1c067b40f5ae43ab18b18f;p=file remove stray g. --- diff --git a/python/magic.py b/python/magic.py index 3c7aa100..a17e8dad 100644 --- a/python/magic.py +++ b/python/magic.py @@ -139,7 +139,7 @@ class Magic(object): as a buffer or None if an error occurred and the MAGIC_ERROR flag is set. A call to errno() will return the numeric error code. """ - try: # attempt python3 approach firstg + try: # attempt python3 approach first return str(_buffer(self._magic_t, buf, len(buf)), 'utf-8') except: return _buffer(self._magic_t, buf, len(buf))