Changeset dde330b in rtems-source-builder


Ignore:
Timestamp:
Feb 3, 2018, 3:02:45 PM (21 months ago)
Author:
Stephan Gambke <s7eph4n@…>
Branches:
master
Children:
18e1ba6
Parents:
703532c
git-author:
Stephan Gambke <s7eph4n@…> (02/03/18 15:02:45)
git-committer:
Chris Johns <chrisj@…> (02/04/18 22:40:47)
Message:

sb: Fix path.py

is_abspath() now considers zero-length strings

Also: Remove not needed line in expand()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/path.py

    r703532c rdde330b  
    5555
    5656def is_abspath(path):
    57     if path is not None:
     57    if path is not None and len(path) > 0:
    5858        return '/' == path[0]
    5959    return False
     
    219219
    220220def expand(name, paths):
    221     path = shell(path)
    222221    l = []
    223222    for p in paths:
Note: See TracChangeset for help on using the changeset viewer.