1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
We have a report that we run as necessary to see what is using the Librarian
storage.
>>> from lp.testing.script import run_script
>>> script = 'scripts/librarian-report.py'
>>> rv, out, err = run_script(script)
>>> print rv
0
>>> print err
>>> print '\n' + out
<BLANKLINE>
...
133 bytes hwsubmission in 2 files
...
We can filter on date to produce deltas.
>>> rv, out, err = run_script(
... script, ['--from=2005/01/01', '--until=2005/12/31'])
>>> print rv
0
>>> print err
>>> print '\n' + out
<BLANKLINE>
...
0 bytes hwsubmission in 0 files
...
|