~ubuntu-branches/ubuntu/lucid/cedar-backup2/lucid

« back to all changes in this revision

Viewing changes to CedarBackup2/util.py

  • Committer: Bazaar Package Importer
  • Author(s): Kenneth J. Pronovici
  • Date: 2009-03-29 15:00:28 UTC
  • mfrom: (1.1.10 upstream) (4.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090329150028-ljhfp6mxplcbmx4i
Tags: 2.19.3-1
* New upstream release.
* Remove references to user manual PDF (no longer shipped).
* Update debian/copyright based on new upstream CREDITS.
* Bump standards version to 3.8.1 (no packaging changes).
* Bump debhelper compatibility to 7, per linitian recommendation.
* Declare a dependency on debhelper (>= 7.0.1) to match compatibility.
* Reference /usr/share/common-licenses/GPL-2 rather than just GPL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
# Author   : Kenneth J. Pronovici <pronovic@ieee.org>
31
31
# Language : Python (>= 2.3)
32
32
# Project  : Cedar Backup, release 2
33
 
# Revision : $Id: util.py 913 2008-04-28 02:38:06Z pronovic $
 
33
# Revision : $Id: util.py 935 2009-03-29 18:56:50Z pronovic $
34
34
# Purpose  : Provides general-purpose utilities.
35
35
#
36
36
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
42
42
"""
43
43
Provides general-purpose utilities. 
44
44
 
45
 
@sort: AbsolutePathList, ObjectTypeList, RestrictedValueList, RegexMatchList,
 
45
@sort: AbsolutePathList, ObjectTypeList, RestrictedContentList, RegexMatchList,
46
46
       RegexList, _Vertex, DirectedGraph, PathResolverSingleton, 
47
47
       sortDict, convertSize, getUidGid, changeOwnership, splitCommandLine,
48
48
       resolveCommand, executeCommand, calculateFileAge, encodePath, nullDevice,
955
955
   Diagnostic information is information that is useful to get from users for
956
956
   debugging purposes.  I'm consolidating it all here into one object.
957
957
 
958
 
   @sort: __init__, __repr__, __str__, __cmp__
 
958
   @sort: __init__, __repr__, __str__
959
959
   """
960
960
 
961
961
   def __init__(self):