Comment 37 for bug 354036

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 354036] Re: ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad

On Thu, 2009-04-23 at 22:20 +0000, Rick McBride wrote:
> when I try that script on an affected branch, I get
>
> Traceback (most recent call last):
> File "/home/rmcbride/foo.py", line 3, in <module>
> b = bzrlib.branch.Branch.open(argv[1])
> NameError: name 'argv' is not defined
>
>
> I'm guessing there's a parameter I should be passing

New version that should fix that.

And yes, run as
python foo.py lp:BRANCHONLP