File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 33import sys
44
55
6- class _Zbarlight (object ):
7- """
8- Fake zbarlight C extension
6+ # class _Zbarlight(object):
7+ # """
8+ # Fake zbarlight C extension
99
10- Should be updated when C extension change.
11- """
10+ # Should be updated when C extension change.
11+ # """
1212
13- def zbar_code_scanner (self , * args ):
14- pass
13+ # def zbar_code_scanner(self, *args):
14+ # pass
1515
16- def version (self ):
17- pass
16+ # def version(self):
17+ # pass
1818
19- @classmethod
20- def monkey_patch (cls ):
21- """Monkey path zbarlight C extension on Read The Docs"""
22- on_read_the_docs = os .environ .get ("READTHEDOCS" , False )
23- if on_read_the_docs :
24- sys .modules ["zbarlight._zbarlight" ] = cls
19+ # @classmethod
20+ # def monkey_patch(cls):
21+ # """Monkey path zbarlight C extension on Read The Docs"""
22+ # on_read_the_docs = os.environ.get("READTHEDOCS", False)
23+ # if on_read_the_docs:
24+ # sys.modules["zbarlight._zbarlight"] = cls
2525
2626
27- _Zbarlight .monkey_patch ()
27+ # _Zbarlight.monkey_patch()
2828
2929project = "zbarlight"
3030copyright = "2014, Polyconseil"
You can’t perform that action at this time.
0 commit comments