Ignore:
Timestamp:
03/19/12 12:14:20 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
92659cf777626f5bc411357989a821dd2083e466
Message:

Moved deprecation functions, progress bar support and environ into Orange.utils. Orange imports cleanly, although it is not tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/tree.py

    r10467 r10580  
    15141514    def _rename_arg(cls, a): 
    15151515        if a in cls._rename_old_new: 
    1516             Orange.misc.deprecation_warning(a, cls._rename_old_new[a], stacklevel=4) 
     1516            Orange.utils.deprecation_warning(a, cls._rename_old_new[a], stacklevel=4) 
    15171517        return cls._rename_new_old.get(a, a) 
    15181518 
     
    20382038 
    20392039 
    2040 TreeLearner = Orange.misc.deprecated_members({ 
     2040TreeLearner = Orange.utils.deprecated_members({ 
    20412041          "mForPruning": "m_pruning", 
    20422042          "sameMajorityPruning": "same_majority_pruning", 
     
    26202620        return self.to_string() 
    26212621 
    2622     @Orange.misc.deprecated_keywords({"fileName": "file_name", \ 
     2622    @Orange.utils.deprecated_keywords({"fileName": "file_name", \ 
    26232623        "leafStr": "leaf_str", "nodeStr": "node_str", \ 
    26242624        "userFormats": "user_formats", "minExamples": "min_instances", \ 
     
    26612661    dump = to_string 
    26622662 
    2663     @Orange.misc.deprecated_keywords({"fileName": "file_name", \ 
     2663    @Orange.utils.deprecated_keywords({"fileName": "file_name", \ 
    26642664        "leafStr": "leaf_str", "nodeStr": "node_str", \ 
    26652665        "leafShape": "leaf_shape", "nodeShape": "node_shape", \ 
Note: See TracChangeset for help on using the changeset viewer.