Changeset e1d62e8 in rtems-libbsd


Ignore:
Timestamp:
May 17, 2018, 6:35:19 PM (17 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
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.