Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base.  The
literal can be preceded by '+' or '-' and be surrounded by whitespace.(more...)

src/b/a/baboon-0.1.4/baboon/common/stanza/rsync.py   baboon(Download)
                file_event_type = FileEvent.MOVE
            elif tag_name == 'delete_file':
                file_event_type = FileEvent.DELETE
 
            file_event = FileEvent(self['node'], file_event_type, element.text)

src/b/a/baboon-HEAD/baboon/common/stanza/rsync.py   baboon(Download)
                file_event_type = FileEvent.MOVE
            elif tag_name == 'delete_file':
                file_event_type = FileEvent.DELETE
 
            file_event = FileEvent(self['node'], file_event_type, element.text)

src/b/a/baboon-0.1.4/baboon/baboond/task.py   baboon(Download)
                new_hash = self._get_hash(f.src_path)
                self._send_hash(new_hash)
            elif f.event_type == FileEvent.DELETE:
                self.logger.debug('[%s] - Need to delete %s.' %
                                 (self.project_path, f.src_path))

src/b/a/baboon-HEAD/baboon/baboond/task.py   baboon(Download)
                new_hash = self._get_hash(f.src_path)
                self._send_hash(new_hash)
            elif f.event_type == FileEvent.DELETE:
                self.logger.debug('[%s] - Need to delete %s.' %
                                 (self.project_path, f.src_path))

src/b/a/baboon-0.1.4/baboon/baboon/initializor.py   baboon(Download)
                    del self.index[f.src_path]
                    self.index[f.dest_path] = cur_timestamp
                elif f.event_type == FileEvent.DELETE:
                    del self.index[f.src_path]
                else:

src/b/a/baboon-HEAD/baboon/baboon/initializor.py   baboon(Download)
                    del self.index[f.src_path]
                    self.index[f.dest_path] = cur_timestamp
                elif f.event_type == FileEvent.DELETE:
                    del self.index[f.src_path]
                else: