srcanamdw/codescanner/pyinstaller/buildtests/pkg2/__init__.py
author noe\swadi
Thu, 18 Feb 2010 12:29:02 +0530
changeset 1 22878952f6e2
permissions -rw-r--r--
Committing the CodeScanner Core tool This component has been moved from the StaticAnaApps package. BUG : 5889 (http://developer.symbian.org/webbugs/show_bug.cgi?id=5889).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     1
""" pkg2 does various namespace tricks, __path__ append """
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     2
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     3
def notamodule():
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     4
    return "notamodule from pkg2.__init__"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     5
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     6
import os
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     7
__path__.append(os.path.join(
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     8
    os.path.dirname(__file__), 'extra'))
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     9
__all__ = ["a", "b", "notamodule"]