Back to index

obnam  1.1
Public Member Functions
setup.CleanMore Class Reference
Inheritance diagram for setup.CleanMore:
Inheritance graph
Collaboration diagram for setup.CleanMore:
Collaboration graph

List of all members.

Public Member Functions

def run
def remove_pyc

Detailed Description

Definition at line 49 of file

Member Function Documentation

def setup.CleanMore.remove_pyc (   self,

Definition at line 62 of file

00063     def remove_pyc(self, rootdir):
00064         for dirname, subdirs, basenames in os.walk(rootdir):
00065             for x in [os.path.join(dirname, base)
00066                        for base in basenames
00067                        if base.endswith('.pyc')]:
00068                 os.remove(x)

Here is the caller graph for this function:

def (   self)

Definition at line 51 of file

00052     def run(self):
00054         for x in ['obnam.1', 'obnam-benchmark.1', '.coverage',
00055                   'obnamlib/']:
00056             if os.path.exists(x):
00057                 os.remove(x)
00058         self.remove_pyc('obnamlib')
00059         self.remove_pyc('test-plugins')
00060         if os.path.isdir('build'):
00061             shutil.rmtree('build')

Here is the call graph for this function:

The documentation for this class was generated from the following file: