pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/py-backtrader/patches
Module Name: pkgsrc
Committed By: minskim
Date: Sat May 12 22:07:47 UTC 2018
Added Files:
pkgsrc/finance/py-backtrader/patches: patch-backtrader_datacache.py
Log Message:
finance/py-bracktrader: Add a patch to fix a typo
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/finance/py-backtrader/patches/patch-backtrader_datacache.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/finance/py-backtrader/patches/patch-backtrader_datacache.py
diff -u /dev/null pkgsrc/finance/py-backtrader/patches/patch-backtrader_datacache.py:1.1
--- /dev/null Sat May 12 22:07:47 2018
+++ pkgsrc/finance/py-backtrader/patches/patch-backtrader_datacache.py Sat May 12 22:07:47 2018
@@ -0,0 +1,24 @@
+$NetBSD: patch-backtrader_datacache.py,v 1.1 2018/05/12 22:07:47 minskim Exp $
+
+Fix typos.
+
+--- backtrader/datacache.py.orig 2017-08-04 12:13:07.000000000 +0000
++++ backtrader/datacache.py
+@@ -55,7 +55,7 @@ class BaseCache(bt.LineSeries):
+
+
+ if True:
+- impor os
++ import os
+ import os.path
+ import sqlite3
+
+@@ -77,7 +77,7 @@ def CacheSQLite(BaseCache):
+
+ else:
+ path = os.getenv('XDG_CACHE_HOME', os.path.expanduser('~/.cache'))
+- path os.path.join(path, self.p.appname)
++ path = os.path.join(path, self.p.appname)
+
+ path = os.path.join(path, self.p.location,
+ bt.TimeFrame.TName(self.p.timeframe),
Home |
Main Index |
Thread Index |
Old Index