Changeset e1d62e8 in rtems-libbsd


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