Ignore:
Timestamp:
Apr 13, 2010 12:36:52 PM (14 years ago)
Author:
dkearney
Message:

spacing, tabs, blahh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/python/Rappture/PyRpEncode.cc

    r1384 r1694  
    3030
    3131    static char *kwlist[] = {
    32         (char *)"data",
    33         NULL
     32        (char *)"data",
     33        NULL
    3434    };
    3535
     
    6565
    6666    static char *kwlist[] = {
    67         (char *)"data",
    68         (char *)"flags",
    69         NULL
     67        (char *)"data",
     68        (char *)"flags",
     69        NULL
    7070    };
    7171
     
    8383    Rappture::Buffer buf(data, dlen);
    8484    if (!Rappture::encoding::encode(err, buf, flags)) {
    85         std::string outStr;
     85        std::string outStr;
    8686
    8787        outStr = err.remark();
    88         outStr += "\n";
    89         outStr += err.context();
     88        outStr += "\n";
     89        outStr += err.context();
    9090        PyErr_SetString(PyExc_RuntimeError, outStr.c_str());
    9191        buf.clear();
     
    112112
    113113    static char *kwlist[] = {
    114         (char *)"data",
    115         (char *)"flags",
    116         NULL
     114        (char *)"data",
     115        (char *)"flags",
     116        NULL
    117117    };
    118118
     
    130130    Rappture::Buffer buf(data, dlen);
    131131    if (!Rappture::encoding::decode(err, buf, flags)) {
    132         std::string outStr;
     132        std::string outStr;
    133133
    134134        outStr = err.remark();
    135         outStr += "\n";
    136         outStr += err.context();
     135        outStr += "\n";
     136        outStr += err.context();
    137137        PyErr_SetString(PyExc_RuntimeError,outStr.c_str());
    138138        return NULL;
     
    173173    if (ErrorObject == NULL) {
    174174        ErrorObject = PyErr_NewException((char *)"Rappture.encoding.error",
    175                 NULL, NULL);
     175                NULL, NULL);
    176176        if (ErrorObject == NULL) {
    177177            return;
    178         }
     178        }
    179179    }
    180180    Py_INCREF(ErrorObject);
Note: See TracChangeset for help on using the changeset viewer.