Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Flake8 for apt
......................................................................


Flake8 for apt

Change-Id: If827f560d7b56722bd3bc0a8499e961e56d67baa
---
M modules/apt/files/apt2xml.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/apt/files/apt2xml.py b/modules/apt/files/apt2xml.py
index 6a3ed14..d746296 100644
--- a/modules/apt/files/apt2xml.py
+++ b/modules/apt/files/apt2xml.py
@@ -19,10 +19,11 @@
 
 from socket import getfqdn
 import warnings
-warnings.filterwarnings('ignore')
 import apt
 from xml.dom.minidom import Document
 
+warnings.filterwarnings('ignore')
+
 
 # shamelessly stolen from /usr/lib/update-notifier/apt_check.py ported/modified
 def isSecurityUpgrade(candidate):

-- 
To view, visit https://gerrit.wikimedia.org/r/278753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If827f560d7b56722bd3bc0a8499e961e56d67baa
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to