summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2024-01-08 10:28:31 +0100
committerPapoteur <papoteur@mageia.org>2024-01-08 10:28:31 +0100
commit4ff7c4d41be8426a433abfe7d7788121daa11894 (patch)
tree81d0bfe7403392def59422efd0ddf3cd60647ad5
parentc08c778e08d0efacb858d0989564c014bcb4b6cc (diff)
downloadmga-advisor-4ff7c4d41be8426a433abfe7d7788121daa11894.tar
mga-advisor-4ff7c4d41be8426a433abfe7d7788121daa11894.tar.gz
mga-advisor-4ff7c4d41be8426a433abfe7d7788121daa11894.tar.bz2
mga-advisor-4ff7c4d41be8426a433abfe7d7788121daa11894.tar.xz
mga-advisor-4ff7c4d41be8426a433abfe7d7788121daa11894.zip
Fix warning about escaping character
-rw-r--r--mga-advisor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py
index e6d04f0..0475873 100644
--- a/mga-advisor.py
+++ b/mga-advisor.py
@@ -286,7 +286,7 @@ class Widget(QWidget):
return ""
def valid_number(self):
- self.ui.bug_le.setText(re.sub('\D', '', self.ui.bug_le.text()))
+ self.ui.bug_le.setText(re.sub(r'\D', '', self.ui.bug_le.text()))
def src_populate(self, package):
# retrieve information with repo, release from package name