pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/py-backtrader/patches finance/py-bracktrader: ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1be297917033
branches: trunk
changeset: 380165:1be297917033
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat May 12 22:07:47 2018 +0000
description:
finance/py-bracktrader: Add a patch to fix a typo
diffstat:
finance/py-backtrader/patches/patch-backtrader_datacache.py | 24 +++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 861b2db875c3 -r 1be297917033 finance/py-backtrader/patches/patch-backtrader_datacache.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/py-backtrader/patches/patch-backtrader_datacache.py Sat May 12 22:07:47 2018 +0000
@@ -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