dnf-plugins-core/0001-Change-name-of-def-valid.patch
Igor Gnatenko 8d2d2e5c8c Backport patch for copr for guessing chroot; Trim changelog
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-18 16:47:23 +02:00

27 lines
706 B
Diff

From 45f1dd636cb14cd45049393eb17238f518694455 Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek <jmracek@redhat.com>
Date: Wed, 20 Jul 2016 16:44:07 +0200
Subject: [PATCH] Change name of def valid()
The change is required by privatization of non-API functions.
---
tests/support.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/support.py b/tests/support.py
index 31fb91f..3dbc4bd 100644
--- a/tests/support.py
+++ b/tests/support.py
@@ -161,7 +161,7 @@ class RepoStub(object):
self.priority = 99
self.cost = 1000
- def valid(self):
+ def _valid(self):
"""Return a message if the repository is not valid."""
def enable(self):
--
2.7.4