[snippets] updated: pytowiki script

git-svn-id: https://pykd.svn.codeplex.com/svn@64253 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-04-20 08:12:47 +00:00
parent a3a4cadcc2
commit a6048b8783
2 changed files with 2 additions and 9 deletions

View File

@ -56,7 +56,7 @@ def getObjectByName( objName ):
return return
rootDir = typedVar( "nt", "_OBJECT_DIRECTORY", ptrPtr( nt.ObpRootDirectoryObject ) ) rootDir = typedVar( "nt", "_OBJECT_DIRECTORY", ptrPtr( nt.ObpRootDirectoryObject ) )
return getObjectInDir( rootDir, objName[1:] ) return getObjectInDir( rootDir, objName[1:] )

View File

@ -6,7 +6,7 @@ import sys
def usage(): def usage():
pass print "python pytowiki.py module_name"
class CodeplexFormatter: class CodeplexFormatter:
@ -85,13 +85,6 @@ def buildDoc( ioStream, formatter, apiInfo ):
ioStream.write( formatter.escapeMarkup( m.__doc__ ) + formatter.endl() ) ioStream.write( formatter.escapeMarkup( m.__doc__ ) + formatter.endl() )
def buildFuncDir( ioStream, funcs ):
pass
def buildClassDir( ioStream, classes ):
pass
def main(): def main():
if len(sys.argv) < 2: if len(sys.argv) < 2: