On 04/26/2013 08:15 AM, Panu Matilainen wrote:
On 04/25/2013 08:53 PM, James Antill wrote:
On Thu, 2013-04-25 at 19:32 +0300, Panu Matilainen wrote:
On 04/25/2013 06:02 PM, James Antill wrote:
On Thu, 2013-04-25 at 09:09 +0300, Panu Matilainen wrote:
Something in commit fc395ef14b135b35914888
On 04/25/2013 08:53 PM, James Antill wrote:
On Thu, 2013-04-25 at 19:32 +0300, Panu Matilainen wrote:
On 04/25/2013 06:02 PM, James Antill wrote:
On Thu, 2013-04-25 at 09:09 +0300, Panu Matilainen wrote:
Something in commit fc395ef14b135b3591488816ec902057fd8d03f4 makes
diskspacecheck=0 not di
On Thu, 2013-04-25 at 19:32 +0300, Panu Matilainen wrote:
> On 04/25/2013 06:02 PM, James Antill wrote:
> > On Thu, 2013-04-25 at 09:09 +0300, Panu Matilainen wrote:
> >> Something in commit fc395ef14b135b3591488816ec902057fd8d03f4 makes
> >> diskspacecheck=0 not disable the disk space check at all
On 04/25/2013 06:02 PM, James Antill wrote:
On Thu, 2013-04-25 at 09:09 +0300, Panu Matilainen wrote:
Something in commit fc395ef14b135b3591488816ec902057fd8d03f4 makes
diskspacecheck=0 not disable the disk space check at all. Moving
the thing to initActionTs() where other similar initialization
On Thu, 2013-04-25 at 09:09 +0300, Panu Matilainen wrote:
> Something in commit fc395ef14b135b3591488816ec902057fd8d03f4 makes
> diskspacecheck=0 not disable the disk space check at all. Moving
> the thing to initActionTs() where other similar initialization
> is done makes it work again. In additi
> $ python -c "print(False == 0)"
> True
Uh, got me. Thanks! I was not aware of this.
>>> isinstance(False, int)
True
___
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel
On 2013-04-25 11:17, Zdenek Pavlas wrote:
> This code is dead, as diskspacecheck is a BoolOption.
> It's True/False, but never == 0.
Surely better to just test the boolean value, but isn't False in
practice always == 0?
$ python -c "print(False == 0)"
True
$ python3 -c "print(False == 0)"
True
On 04/25/2013 11:17 AM, Zdenek Pavlas wrote:
--- a/rpmUtils/transaction.py
+++ b/rpmUtils/transaction.py
@@ -114,7 +114,7 @@ class TransactionWrapper:
# FIXME GARBAGE - remove once this is reimplemented elsehwere
# KEEPING FOR API COMPLIANCE ONLY
if conf.get('diskspa
> --- a/rpmUtils/transaction.py
> +++ b/rpmUtils/transaction.py
> @@ -114,7 +114,7 @@ class TransactionWrapper:
> # FIXME GARBAGE - remove once this is reimplemented elsehwere
> # KEEPING FOR API COMPLIANCE ONLY
> if conf.get('diskspacecheck') == 0:
> -self.ts
Something in commit fc395ef14b135b3591488816ec902057fd8d03f4 makes
diskspacecheck=0 not disable the disk space check at all. Moving
the thing to initActionTs() where other similar initialization
is done makes it work again. In addition, enable filtering of
inode problems also to behave the same as
10 matches
Mail list logo