svn commit: r459602 - in head/security/py-volatility: . files
Antoine Brodin
antoine at FreeBSD.org
Sun Jan 21 12:40:38 UTC 2018
Author: antoine
Date: Sun Jan 21 12:40:37 2018
New Revision: 459602
URL: https://svnweb.freebsd.org/changeset/ports/459602
Log:
Fix a deprecation warning when using psxview with xlsx output
Modified:
head/security/py-volatility/Makefile
head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py
Modified: head/security/py-volatility/Makefile
==============================================================================
--- head/security/py-volatility/Makefile Sun Jan 21 12:38:25 2018 (r459601)
+++ head/security/py-volatility/Makefile Sun Jan 21 12:40:37 2018 (r459602)
@@ -3,7 +3,7 @@
PORTNAME= volatility
PORTVERSION= 2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security python
MASTER_SITES= http://downloads.volatilityfoundation.org/releases/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Modified: head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py
==============================================================================
--- head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py Sun Jan 21 12:38:25 2018 (r459601)
+++ head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py Sun Jan 21 12:40:37 2018 (r459602)
@@ -47,9 +47,12 @@
ws = wb.create_sheet()
ws.title = "Psxview Output"
ws.append(["Offset (P)",
-@@ -350,13 +350,13 @@ class PsXview(common.AbstractWindowsComm
+@@ -348,15 +348,15 @@ class PsXview(common.AbstractWindowsComm
+ wb.save(filename = self._config.OUTPUT_FILE)
+
wb = load_workbook(filename = self._config.OUTPUT_FILE)
- ws = wb.get_sheet_by_name(name = "Psxview Output")
+- ws = wb.get_sheet_by_name(name = "Psxview Output")
++ ws = wb["Psxview Output"]
for col in xrange(1, 12):
- ws.cell("{0}{1}".format(get_column_letter(col), 1)).style = BoldStyle
+ ws["{0}{1}".format(get_column_letter(col), 1)].style = BoldStyle
More information about the svn-ports-all
mailing list