YunoHost / package_linter

Linter for YunoHost applications packages
https://yunohost.org/#/packaging_apps
GNU Affero General Public License v3.0
17 stars 13 forks source link

SOURCES MANAGEMENT failed if directory doesn't exist #19

Closed maniackcrudelis closed 7 years ago

maniackcrudelis commented 7 years ago
Traceback (most recent call last):
  File "/home/yunouser/package_check/package_linter/package_linter.py", line 323, in <module>
    return_code = check_source_management(app_path) or return_code
  File "/home/yunouser/package_check/package_linter/package_linter.py", line 72, in check_source_management
    if len([name for name in os.listdir(DIR) if os.path.isfile(os.path.join(DIR, name))]) > 5:
FileNotFoundError: [Errno 2] No such file or directory: '/home/yunouser/package_check/nextcloud_ynh_check/sources'