Changeset 7783:8a5ded676223 in orange


Ignore:
Timestamp:
03/29/11 11:06:16 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
da4c5195bab1a35c1837e0b79c6aea6439cde90d
Message:

Fixed a problem with my last commit (broke compilation using Visual Studio)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_kernel.cpp

    r7782 r7783  
    569569      values = PyOrange_AsStringList((TPyOrange *)pyvalues).getUnwrappedPtr(); 
    570570     
    571     if (!(values and name)) 
    572          PYERROR(PyExc_ValueError, "cannot construct the variable from the pickle", PYNULL) 
     571    if (!(values && name)) 
     572        PYERROR(PyExc_ValueError, "cannot construct the variable from the pickle", PYNULL); 
    573573    TVariable *var = TVariable::getExisting(name, TValue::INTVAR, values, NULL); 
    574574    PVariable pvar = var; 
Note: See TracChangeset for help on using the changeset viewer.