Merge lp:~blr/launchpad/dont-fear-the-repr into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 17550 |
| Proposed branch: | lp:~blr/launchpad/dont-fear-the-repr |
| Merge into: | lp:launchpad |
| Diff against target: |
79 lines (+36/-0) 4 files modified
lib/lp/soyuz/model/packagediffjob.py (+13/-0) lib/lp/soyuz/model/sourcepackagerelease.py (+6/-0) lib/lp/soyuz/tests/test_packagediffjob.py (+9/-0) lib/lp/soyuz/tests/test_sourcepackagerelease.py (+8/-0) |
| To merge this branch: | bzr merge lp:~blr/launchpad/dont-fear-the-repr |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| William Grant | code | 2015-06-05 | Approve on 2015-06-05 |
|
Review via email:
|
|||
Commit Message
Add a repr for PackageDiffJob and SourcePackageRe
Description of the Change
Adds a repr for PackageDiffJob in the form:
<PackageDiffJob from {from-sourcepkg
and a repr for SourcePackageRe
<{name} (id: {id}, version: {version})>
| William Grant (wgrant) wrote : | # |
| Kit Randel (blr) wrote : | # |
> It might be worth giving SourcePackageRe
> sensible repr rather than manually formatting two of them here.
Sounds good, I'll look at that, thanks.
| William Grant (wgrant) wrote : | # |
The SourcePackageRe
| Kit Randel (blr) wrote : | # |
Thanks, have tidied that up.
On Fri, Jun 5, 2015 at 9:27 PM, William Grant <email address hidden> wrote:
> Review: Needs Fixing code
>
> The SourcePackageRe
> as it currently doesn't indicate which package it is. Might as well also
> call repr() on the object rather than manually invoking __repr__().
> --
> https:/
> You are the owner of lp:~blr/launchpad/dont-fear-the-repr.
>
--
Kit Randel (blr)
Canonical - Ubuntu Engineering - Launchpad & Continuous Integration Team
| Barki Mustapha (mustbarki) wrote : | # |
please i need all help about
commands sudo
and how to be more efficient
Join me on tsū, they are sharing social revenues with all of us
http://
https:/
#workwithbarki #love
My Resume <http://
http://
https:/
1) BARKI MUSTAPHA
2) 3 Lot Redouane 20800 Mohammedia Morocco
3) +212678466468
4) Paypal : <email address hidden>
5) BMCE BANK
6) Agence BMCE Mohammedia Boulvard Palestine N 3031 Lotissement Redouane
7) 7870011200000022732
8) 011787000011200
9) Engineer Marine 19/01/1976 Maried
10) Card id A766807
Engineer Automation http://
SEA CAPTAIN
https:/
skype : barki.mustapha2
As engineer Marine GSE, I can bring my knowledge and expertise in
automation, servo, mechanical, hydraulic, traditional security, management
and HR / equipment,.
Responsive and very adaptable, I am convinced that a company like yours
will appreciate my motivation and drive that inspires me. Your goals become
mine and I know how to invest in your projects
YOU ask rigor, methodology and professionalism and personal attention at
all times. My internship allowed me to have a good view of this environment
and put into practice my knowledge. Rewarding, they convinced me of my
desire to get involved further on behalf of a company that will offer me a
position of responsibility.
I stand at your disposal and I think that an interview will allow me to
convince you of my serious.
B.M #mastercard <https:/
<https:/
<https:/
<https:/
share.payoneer-
<http://
<https:/
<https:/
<https:/
<https:/
#success <https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
2015-06-05 23:32 GMT+01:00 William Grant <email address hidden>:
> Review: Approve code
>
>
> --
> htt...
| Barki Mustapha (mustbarki) wrote : | # |
shot down system thirth party
new config
about error
is sudo apt-get install-f
unknow for mine
Join me on tsū, they are sharing social revenues with all of us
http://
https:/
#workwithbarki #love
My Resume <http://
http://
https:/
1) BARKI MUSTAPHA
2) 3 Lot Redouane 20800 Mohammedia Morocco
3) +212678466468
4) Paypal : <email address hidden>
5) BMCE BANK
6) Agence BMCE Mohammedia Boulvard Palestine N 3031 Lotissement Redouane
7) 7870011200000022732
8) 011787000011200
9) Engineer Marine 19/01/1976 Maried
10) Card id A766807
Engineer Automation http://
SEA CAPTAIN
https:/
skype : barki.mustapha2
As engineer Marine GSE, I can bring my knowledge and expertise in
automation, servo, mechanical, hydraulic, traditional security, management
and HR / equipment,.
Responsive and very adaptable, I am convinced that a company like yours
will appreciate my motivation and drive that inspires me. Your goals become
mine and I know how to invest in your projects
YOU ask rigor, methodology and professionalism and personal attention at
all times. My internship allowed me to have a good view of this environment
and put into practice my knowledge. Rewarding, they convinced me of my
desire to get involved further on behalf of a company that will offer me a
position of responsibility.
I stand at your disposal and I think that an interview will allow me to
convince you of my serious.
B.M #mastercard <https:/
<https:/
<https:/
<https:/
share.payoneer-
<http://
<https:/
<https:/
<https:/
<https:/
#success <https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
<https:/
2015-06-06 1:42 GMT+01:00 Barki Mustapha <email address hidden>:
> please i need...

from_source and to_source are NOT NULL in the DB, so checking for None there isn't really necessary. It might be worth giving SourcePackageRe lease a sensible repr rather than manually formatting two of them here.