Skip to content

Commit bdede68

Browse files
committed
style: format
1 parent 67546f4 commit bdede68

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

fitsio/fitsio_pywrap.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4840,7 +4840,7 @@ static PyObject *PyFITSObject_read_header(struct PyFITSObject *self,
48404840
// this just returns the character string stored in the header; we
48414841
// can eval in python
48424842
if (fits_read_keyn(self->fits, i + 1, keyname, value, scomment,
4843-
&status)) {
4843+
&status)) {
48444844
Py_XDECREF(list);
48454845
set_ioerr_string_from_status(status, self);
48464846
return NULL;
@@ -4868,7 +4868,7 @@ static PyObject *PyFITSObject_read_header(struct PyFITSObject *self,
48684868
is_comment_or_history = 0;
48694869

48704870
if (fits_read_key_longstr(self->fits, keyname, &longstr,
4871-
comment, &status)) {
4871+
comment, &status)) {
48724872
Py_XDECREF(list);
48734873
set_ioerr_string_from_status(status, self);
48744874
return NULL;
@@ -4982,14 +4982,14 @@ static PyObject *PyFITSObject_read_header(struct PyFITSObject *self,
49824982
(strchr(longstr, 'E') != NULL) ||
49834983
(strchr(longstr, 'e') != NULL)) {
49844984
// we found a floating point value
4985-
fits_read_key(self->fits, TDOUBLE, keyname, &dval,
4986-
comment, &status);
4985+
fits_read_key(self->fits, TDOUBLE, keyname, &dval, comment,
4986+
&status);
49874987
add_double_to_dict(dict, "value", dval);
49884988
} else {
49894989

49904990
// we might have found an integer
4991-
if (fits_read_key(self->fits, TLONGLONG, keyname,
4992-
&lval, comment, &status)) {
4991+
if (fits_read_key(self->fits, TLONGLONG, keyname, &lval,
4992+
comment, &status)) {
49934993

49944994
// something non standard, just store it as a string
49954995
convert_to_ascii(longstr);

0 commit comments

Comments
 (0)