From 208250448c5d438f3906879993013ee126152ce2 Mon Sep 17 00:00:00 2001
From: Danny Kukawka
Date: Fri, 30 Apr 2010 17:45:41 +0200
Subject: [PATCH] fixed warning from pychecker
Fixed warning from pychecker: 'Comparisons with True are not necessary
and may not work as expected'
Signed-off-by: Danny Kukawka
---
osc/core.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/osc/core.py b/osc/core.py
index 302db5b..edac283 100644
--- a/osc/core.py
+++ b/osc/core.py
@@ -2243,7 +2243,7 @@ class metafile:
def sync(self):
hash = dgst(self.filename)
- if self.change_is_required == True and hash == self.hash_orig:
+ if self.change_is_required and hash == self.hash_orig:
print 'File unchanged. Not saving.'
os.unlink(self.filename)
return
--
1.5.6
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org