ShaoHe Feng has posted comments on this change.
Change subject: add a new tool for auto-generate python entities from schema
......................................................................
Patch Set 5: (7 inline comments)
....................................................
File src/codegen/genparams.py
Line 124: cmd = " ".join([argv for argv in args])
agree.
Line 159: rule = '|'.join([rule1, rule2, attrrule])
oh, attrrule should be not here.
Line 284: if getIndentsOfString(symbols[i]) <= indents:
the indents <= class, means find find another class or function does not belong
to this class
Line 355: preSpace += " "
" " * indents is more better
Line 504: (classname, lastAttr))
yes.
Line 516: logging.info("[INFO] add import module")
yes.
Line 538: filelist[begidx:begidx] = vallist
yes.
--
To view, visit http://gerrit.ovirt.org/4880
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I916f63f1ac68ce2e31456a90c1291997f671af99
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches