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

Re: [ANNOUNCE] inotifyx version 0.2.0



* Ritesh Raj Sarraf <rrs@debian.org>, 2011-08-11, 12:43:
     basedir = os.path.join(sys.exec_prefix, "lib",
                            "python"+sys.version[0:3])
     if (isinstance(object, type(os)) and
         (object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
                              'marshal', 'posix', 'signal', 'sys',
                              'thread', 'zipimport') or
          (file.startswith(basedir) and
           not file.startswith(os.path.join(basedir, 'site-packages'))))):
         if docloc.startswith("http://";):
             docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
         else:
             docloc = os.path.join(docloc, object.__name__ + ".html")
     else:
         docloc = None

Yes, it's a Debian-specific bug in the Python interpreter. (Though it's not clear to me what it has to do with inotifyx...)

--
Jakub Wilk


Reply to: