# No user-serviceable parts below this line:
#
-version = "2.0"
+version = "2.7"
import os, sys, commands, socket, urllib, subprocess, locale, datetime
from pipes import quote as shellquote
self.url = webview
except IOError:
self.url = ""
- return unicode(self.template % self.__dict__, "utf-8")
+ res = self.template % self.__dict__
+ return unicode(res, 'UTF-8') if not isinstance(res, unicode) else res
class GenericExtractor:
"Generic class for encapsulating data from a VCS."