Skip to content

Commit 1be94b3

Browse files
committed
whitespace cleanup
1 parent dc7d10e commit 1be94b3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

graalpython/lib-graalpython/modules/ginstall.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,19 @@ def pandas(*args):
331331
numpy(*args)
332332

333333

334-
try:
334+
try:
335335
import pytz as _dummy_pytz
336336
except ImportError:
337337
print("Installing required dependency: pytz")
338338
pytz(*args)
339339

340-
try:
340+
try:
341341
import six as _dummy_six
342342
except ImportError:
343343
print("Installing required dependency: six")
344344
six(*args)
345345

346-
try:
346+
try:
347347
import dateutil as __dummy_dateutil
348348
except ImportError:
349349
print("Installing required dependency: dateutil")
@@ -360,7 +360,7 @@ def pandas(*args):
360360
PyExc_ValueError,
361361
- "abstime out of range (0.0 - 86400.0): %f", abstime);
362362
+ "abstime out of range (0.0 - 86400.0): %f", (long long)abstime);
363-
363+
364364
/* Calculate the date */
365365
if (dInfoCalc_SetFromAbsDate(dinfo, absdate, calendar)) goto onError;
366366
diff --git a/pandas/_libs/src/period_helper.c b/pandas/_libs/src/period_helper.c
@@ -373,9 +373,9 @@ def pandas(*args):
373373
PyExc_ValueError,
374374
- "second out of range (0.0 - <60.0; <61.0 for 23:59): %f", second);
375375
+ "second out of range (0.0 - <60.0; <61.0 for 23:59): %f", (long long)second);
376-
376+
377377
dinfo->abstime = (double)(hour * 3600 + minute * 60) + second;
378-
378+
379379
"""
380380
cflags = "-allowcpp" if sys.implementation.name == "graalpython" else ""
381381
install_from_url("https://files.pythonhosted.org/packages/ee/aa/90c06f249cf4408fa75135ad0df7d64c09cf74c9870733862491ed5f3a50/pandas-0.20.3.tar.gz", patch=patch, extra_opts=args, cflags=cflags)
@@ -410,7 +410,7 @@ def install_from_url(url, patch=None, extra_opts=[], cflags=""):
410410
elif name.endswith(".zip"):
411411
system("unzip -u %s/%s -d %s" % (tempdir, name, tempdir))
412412
bare_name = name[:-len(".zip")]
413-
413+
414414
if patch:
415415
with open("%s/%s.patch" % (tempdir, bare_name), "w") as f:
416416
f.write(patch)

0 commit comments

Comments
 (0)