4781444370c4af78656c5bd367a4f512d95f3c08,Orange/widgets/data/owfile.py,OWFile,__init__,#OWFile#,120

Before Change


        self.setAcceptDrops(True)

        if self.source == self.LOCAL_FILE and \
                        os.path.getsize(self.last_path()) > self.SIZE_LIMIT:
            self.Warning.file_too_big()
            return

After Change


        self.setAcceptDrops(True)

        if self.source == self.LOCAL_FILE:
            last_path = self.last_path()
            if last_path and os.path.getsize(last_path) > self.SIZE_LIMIT:
                self.Warning.file_too_big()
                return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 4781444370c4af78656c5bd367a4f512d95f3c08
Time: 2017-01-26
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: __init__


Project Name: biolab/orange3
Commit Name: ae33a3d5ddf09e490a6d5cfb37be7a9c410262d0
Time: 2017-02-14
Author: anze.staric@gmail.com
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: load_data


Project Name: biolab/orange3
Commit Name: dfcc434f72421265f9c5b13ebbda919554577404
Time: 2017-02-03
Author: lan.zagar@gmail.com
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 702bc1e6eb53628c4edcd0533a7475cc5c8ad082
Time: 2017-10-05
Author: marko.toplak@gmail.com
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: _get_reader


Project Name: biolab/orange3
Commit Name: 74706f687e1e8acff56fbdefcf2937337c7c84d7
Time: 2017-02-03
Author: kerncece@gmail.com
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: load_data