瀏覽代碼

Merge branch '1209' of github.com:/webnotes/wnframework into 1209

version-14
Rushabh Mehta 12 年之前
父節點
當前提交
c1f068bea9
共有 1 個檔案被更改,包括 0 行新增8 行删除
  1. +0
    -8
      webnotes/utils/nestedset.py

+ 0
- 8
webnotes/utils/nestedset.py 查看文件

@@ -31,10 +31,6 @@
# ------------------------------------------
from __future__ import unicode_literals

# uncomment below lines for testing
# import sys, unittest
# sys.path.extend([".", "app", "lib"])

import webnotes, unittest
from webnotes import msgprint
from webnotes.model.doclist import DocList
@@ -344,7 +340,3 @@ class DocTypeNestedSet:
elif self.doc.name!=root and not self.doc.parent_account:
msgprint("Parent is mandatory for %s" % (self.doc.name, ), raise_exception=1)
if __name__=="__main__":
webnotes.connect()
unittest.main()

Loading…
取消
儲存