This bit should have some explanation text to say why this set up is needed. Otherwise, looks great, thanks for the fix William.
63 + >>> from zope.component import getUtility 64 + >>> from lp.registry.interfaces.distribution import IDistributionSet 65 + 66 + >>> login('<email address hidden>') 67 + >>> hoary = getUtility(IDistributionSet)['ubuntu'].getSeries('hoary') 68 + >>> chroot = factory.makeLibraryFileAlias() 69 + >>> unused = hoary.getDistroArchSeries('i386').addOrUpdateChroot(chroot) 70 + >>> logout() 71 +
« Back to merge proposal
This bit should have some explanation text to say why this set up is needed. Otherwise, looks great, thanks for the fix William.
63 + >>> from zope.component import getUtility interfaces. distribution import IDistributionSet IDistributionSe t)['ubuntu' ].getSeries( 'hoary' ) makeLibraryFile Alias() ArchSeries( 'i386') .addOrUpdateChr oot(chroot)
64 + >>> from lp.registry.
65 +
66 + >>> login('<email address hidden>')
67 + >>> hoary = getUtility(
68 + >>> chroot = factory.
69 + >>> unused = hoary.getDistro
70 + >>> logout()
71 +