Changeset e1d62e8 in rtems-libbsd for waf_libbsd.py


Ignore:
Timestamp:
May 17, 2018, 6:35:19 PM (13 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
f8cf074
Parents:
b2eb48c
git-author:
Christian Mauderer <christian.mauderer@…> (05/17/18 18:35:19)
git-committer:
Christian Mauderer <christian.mauderer@…> (05/24/18 09:20:34)
Message:

waf: Fix python3 compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waf_libbsd.py

    rb2eb48c re1d62e8  
    3434
    3535from __future__ import print_function
     36# Python 3 does no longer know the basestring class. Catch that.
     37try:
     38    basestring
     39except NameError:
     40    basestring = (str, bytes)
    3641
    3742import os
Note: See TracChangeset for help on using the changeset viewer.