parent
27b1a17e7b
commit
36744cc2a9
|
@ -525,7 +525,6 @@ class PerlOpenModule(method.Method):
|
|||
def _execute(self, w, **vargs):
|
||||
path = w.mode.find_module(vargs['module'])
|
||||
if path:
|
||||
w.set_error("opening %r..." % path)
|
||||
w.application.methods['open-file'].execute(w, filename=path)
|
||||
else:
|
||||
w.set_error("Could not find module %r" % vargs['module'])
|
||||
|
@ -546,7 +545,6 @@ class PerlOpenModuleWord(method.Method):
|
|||
else:
|
||||
pkg = parent
|
||||
if path:
|
||||
w.set_error("opening %r..." % path)
|
||||
w.application.methods['open-file'].execute(w, filename=path)
|
||||
else:
|
||||
w.set_error("Could not find module related to %r" % word)
|
||||
|
|
Loading…
Reference in New Issue