projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
848fa89
)
Removed unnecessary resolve in Workplace
author
Frederic Massart
<fred@moodle.com>
Tue, 7 Aug 2012 09:25:27 +0000
(17:25 +0800)
committer
Frederic Massart
<fred@moodle.com>
Tue, 7 Aug 2012 09:25:27 +0000
(17:25 +0800)
lib/workplace.py
patch
|
blob
|
history
diff --git
a/lib/workplace.py
b/lib/workplace.py
index
0d5ab41
..
48fd29e
100644
(file)
--- a/
lib/workplace.py
+++ b/
lib/workplace.py
@@
-215,10
+215,6
@@
class Workplace(object):
path = os.getcwd()
path = os.path.realpath(os.path.abspath(path))
- # This path points right to a Moodle instance
- if moodle.Moodle.isInstance(path):
- return moodle.Moodle(path)
-
# Is this path in a Moodle instance?
if path.startswith(self.path):
(head, tail) = os.path.split(path)