2009/9/18 Iustin Pop <[email protected]>: > Currently the AddInstance in gnt-instance and ImportInstance in > gnt-backup duplicate all of their code except the actual opcode creation > (the parameters to it). By moving this to cli.py (not optimal location, > but we don't have another one), we can use a single copy of the code, > and simply change based on the mode parameter the few different > opcode parameters. > --- > I'm not sure if this is such a great idea, but ~80 lines of duplicate > code is even worse than moving this code to cli.py
LGTM
