Package conary :: Module cvc
[hide private]
[frames] | no frames]

Source Code for Module conary.cvc

   1  # -*- mode: python -*- 
   2  # 
   3  # Copyright (c) 2004-2008 rPath, Inc. 
   4  # 
   5  # This program is distributed under the terms of the Common Public License, 
   6  # version 1.0. A copy of this license should have been distributed with this 
   7  # source file in a file called LICENSE. If it is not present, the license 
   8  # is always available at http://www.rpath.com/permanent/licenses/CPL-1.0. 
   9  # 
  10  # This program is distributed in the hope that it will be useful, but 
  11  # without any warranty; without even the implied warranty of merchantability 
  12  # or fitness for a particular purpose. See the Common Public License for 
  13  # full details. 
  14  # 
  15  """ 
  16  Provides the output for the "cvc" subcommands 
  17  """ 
  18   
  19  import inspect 
  20  import optparse 
  21  import os 
  22  import sys 
  23   
  24  from conary import branch 
  25  from conary import checkin 
  26  from conary import command 
  27  from conary import conarycfg 
  28  from conary import conaryclient 
  29  from conary import constants 
  30  from conary import deps 
  31  from conary import errors, keymgmt 
  32  from conary import state 
  33  from conary import updatecmd 
  34  from conary import versions 
  35  from conary.build import cook, use, signtrove, derive, explain 
  36  from conary.build import errors as builderrors 
  37  from conary.lib import cfg 
  38  from conary.lib import log 
  39  from conary.lib import openpgpfile 
  40  from conary.lib import openpgpkey 
  41  from conary.lib import options 
  42  from conary.lib import util 
  43   
  44  if __name__ == '__main__': 
  45      sys.excepthook = util.genExcepthook() 
  46   
  47  # mix UpdateCallback and CookCallback, since we use both. 
48 -class CheckinCallback(cook.CookCallback, updatecmd.UpdateCallback):
49 - def __init__(self, cfg=None):