Git Product home page Git Product logo

pkgwap's People

Contributors

kewlfft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pkgwap's Issues

Python errors relating to scandir levels

Without a level arg;

./pkgwap ~/pkgs 
Package name                       Local              AUR            Upstream            Status
Traceback (most recent call last):
  File "./pkgwap", line 594, in <module>
    scandir(args.DIR, args.level)
  File "./pkgwap", line 583, in scandir
    pkgm.pkglist.append(PKGBUILD(os.path.join(root, 'PKGBUILD')))
  File "./pkgwap", line 145, in __init__
    self._parse(fileobj)
  File "./pkgwap", line 191, in _parse
    self._handle_assign(token)
  File "./pkgwap", line 153, in _handle_assign
    if value[0] == '(' and value[-1] == ')':
IndexError: string index out of range

and

With a level arg;

./pkgwap -l 1 ~/pkgs/
Package name                       Local              AUR            Upstream            Status
Traceback (most recent call last):
  File "./pkgwap", line 594, in <module>
    scandir(args.DIR, args.level)
  File "./pkgwap", line 580, in scandir
    for (root, dirs, files) in walklevel(path, level):
  File "./pkgwap", line 569, in walklevel
    if num_sep + level <= num_sep_this:
TypeError: unsupported operand type(s) for +: 'int' and 'list'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.