Alon Bar-Lev has posted comments on this change.

Change subject: core: Remove Windows ProductKey* from db
......................................................................


Patch Set 7:

(1 comment)

....................................................
File packaging/setup/plugins/ovirt-engine-setup/config/productkey_upgrade.py
Line 69:                 osetupcons.DBEnv.STATEMENT
Line 70:                 ].getVdcOption(key)
Line 71:             if len(val) > 0:
Line 72:                 content.append('os.%s.productKey.value=%s' %
Line 73:                                (self.DB_TO_OSINFO[key], val))
I should have explained... for example, if you rename content to filecontent, 
in the method you use for indentation you should submit a patch to push forward 
all lines bellow to match the indent of the opening bracket... or code becomes 
inconsistent.

 content.append('bla bla' %
                (bla bla))

 ->

 filecontentappend('bla bla' %
                (bla bla))

so instead, best to have single indent per block, block is whatever between 
brackets (any kind).
Line 74: 
Line 75:         if len(content) > 0:
Line 76:             
self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append(
Line 77:                 filetransaction.FileTransaction(


-- 
To view, visit http://gerrit.ovirt.org/19743
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I876894e7ba5fcd28ee0d435b4a2561f662140174
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to