Package pybaz :: Class Package
[frames | no frames]

Type Package

         object --+        
                  |        
    NamespaceObject --+    
                      |    
       RevisionIterable --+
                          |
     object --+           |
              |           |
NamespaceObject --+       |
                  |       |
        ArchiveItem --+   |
                      |   |
              Setupable --+
                          |
                         Package

Known Subclasses:
Branch, Version

Base class for ordered container archive objects.


Method Summary

Revision

as_revision(self)
Deprecated.

Revision

latest_revision(self)
Latest revision in this package.
    Inherited from Setupable
  setup(self)
Deprecated.
    Inherited from ArchiveItem
  __init__(self, archive, nonarch)

Archive

get_archive(self)
Deprecated.

str

get_fullname(self)
Deprecated

str

get_nonarch(self)
Deprecated.
    Inherited from RevisionIterable

iterable of Revision

iter_library_revisions(self, reverse)
Iterate over library revisions.

iterable of Revision

iter_revisions(self, reverse)
Iterate over archive revisions.
    Inherited from NamespaceObject

bool

__eq__(self, x)
Compare types and fully-qualified names.

bool

__ne__(self, x)
Compare types and fully-qualified names.

str

__repr__(self)
Fully-qualified name in angle brackets.

str

__str__(self)
Fully-qualified name.

bool

exists(self)
Does this namespace exists?
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Property Summary
    Inherited from ArchiveItem

Archive

archive: Archive which contains this namespace object.

str

fullname: Fully qualfied name of this namespace object.

str

nonarch: Non-arch part of this namespace name.

Method Details

as_revision(self)

Deprecated.

Latest revision in this package.

Returns:

Revision

Raises:
StopIteration -

this package contains no revision

Preconditions:

See Also:

Package.latest_revision

latest_revision(self)

Latest revision in this package.

Returns:

Revision

Raises:
ValueError -

the archive is not registered, or this package does not exist, or it contains no revision.

Preconditions:


Generated by Epydoc 2.1 on Fri Jul 7 17:05:29 2006 http://epydoc.sf.net