[pyfr] 25/88: Fix how we check for Windows in platform_libname.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Nov 16 12:05:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pyfr.
commit b43fd1f4451f11f63b8657594c089b309cb140dd
Author: Freddie Witherden <freddie at witherden.org>
Date: Mon Apr 25 06:55:42 2016 -0700
Fix how we check for Windows in platform_libname.
---
pyfr/ctypesutil.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyfr/ctypesutil.py b/pyfr/ctypesutil.py
index 6f34a46..60f6ee7 100644
--- a/pyfr/ctypesutil.py
+++ b/pyfr/ctypesutil.py
@@ -34,7 +34,7 @@ def load_library(name):
def platform_libname(name):
if sys.platform == 'darwin':
return 'lib{0}.dylib'.format(name)
- elif sys.platform == 'Windows':
+ elif sys.platform == 'win32':
return '{0}.dll'.format(name)
else:
return 'lib{0}.so'.format(name)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git
More information about the debian-science-commits
mailing list