parameters: (self, ignore_files=False)
return_statement: return result
docstring: API Function: abort(ignore_files=False)
          Abort the transaction.  This undos all commands that occurred
          from the beginning of the transactions
          
          @keyparam:
          ignore_files: (boolean) - determines if any files moved into the
              repository are left as is.  This is useful for very long processes
              where it is desireable to keep the files in the repository
              even on abort.
  
          @example:
          A full transaction inserting 10 shots.  If an error occurs, all 10
          inserts will be aborted.
          [code]
          server.start('Start adding shots')
          try:
              for i in range(0,10):
                  server.insert("prod/shot", { 'code': 'XG%0.3d'%i } )
          except:
              server.abort()
          else:
              server.finish("10 shots added")
          [/code]
docstring_summary: API Function: abort(ignore_files=False)
          Abort the transaction.  This undos all commands that occurred
          from the beginning of the transactions
          
          @keyparam:
          ignore_files: (boolean) - determines if any files moved into the
              repository are left as is.  This is useful for very long processes
              where it is desireable to keep the files in the repository
              even on abort.
docstring_tokens: API Function : abort ( ignore_files = False ) Abort the transaction . This undos all commands that occurred from the beginning of the transactions @keyparam : ignore_files : ( boolean ) - determines if any files moved into the repository are left as is . This is useful for very long processes where it is desireable to keep the files in the repository even on abort .
function: def abort(self, ignore_files=False):
          '''API Function: abort(ignore_files=False)
          Abort the transaction.  This undos all commands that occurred
          from the beginning of the transactions
          
          @keyparam:
          ignore_files: (boolean) - determines if any files moved into the
              repository are left as is.  This is useful for very long processes
              where it is desireable to keep the files in the repository
              even on abort.
  
          @example:
          A full transaction inserting 10 shots.  If an error occurs, all 10
          inserts will be aborted.
          [code]
          server.start('Start adding shots')
          try:
              for i in range(0,10):
                  server.insert("prod/shot", { 'code': 'XG%0.3d'%i } )
          except:
              server.abort()
          else:
              server.finish("10 shots added")
          [/code]
          '''
          if self.protocol == "local":
              return
          result = self.server.abort(self.ticket, ignore_files)
          self.ticket = None
          self.transaction_ticket = None
          return result
function_tokens: def abort ( self , ignore_files = False ) : if self . protocol == "local" : return result = self . server . abort ( self . ticket , ignore_files ) self . ticket = None self . transaction_ticket = None return result