Package daklib :: Module srcformats
[hide private]
[frames] | no frames]

Module srcformats

source code

Helper functions for the various source formats


Contact: Debian FTPMaster <ftpmaster@debian.org>

Copyright:

License: GNU General Public License version 2 or later

Classes [hide private]
  SourceFormat
  FormatOne
  FormatThree
  FormatThreeQuilt
Functions [hide private]
 
get_format_from_string(txt)
Returns the SourceFormat class that corresponds to the specified .changes Format value.
source code
Variables [hide private]
  srcformats = []

Imports: re, UnknownFormatError


Function Details [hide private]

get_format_from_string(txt)

source code 

Returns the SourceFormat class that corresponds to the specified .changes Format value. If the string does not match any class, UnknownFormatError is raised.