diff options
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 9f7e4be4c8..14f1d896d7 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -1,4 +1,3 @@ | |||
1 | #!/usr/bin/env python | ||
2 | # ex:ts=4:sw=4:sts=4:et | 1 | # ex:ts=4:sw=4:sts=4:et |
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | 2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- |
4 | """ | 3 | """ |
@@ -18,26 +17,26 @@ to have faster update_data and expandKeys operations. | |||
18 | 17 | ||
19 | This is a treade-off between speed and memory again but | 18 | This is a treade-off between speed and memory again but |
20 | the speed is more critical here. | 19 | the speed is more critical here. |
21 | |||
22 | Copyright (C) 2003, 2004 Chris Larson | ||
23 | Copyright (C) 2005 Holger Hans Peter Freyther | ||
24 | |||
25 | This program is free software; you can redistribute it and/or modify it under | ||
26 | the terms of the GNU General Public License as published by the Free Software | ||
27 | Foundation; either version 2 of the License, or (at your option) any later | ||
28 | version. | ||
29 | |||
30 | This program is distributed in the hope that it will be useful, but WITHOUT | ||
31 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
32 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
33 | |||
34 | You should have received a copy of the GNU General Public License along with | ||
35 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple | ||
36 | Place, Suite 330, Boston, MA 02111-1307 USA. | ||
37 | |||
38 | Based on functions from the base bb module, Copyright 2003 Holger Schurig | ||
39 | """ | 20 | """ |
40 | 21 | ||
22 | # Copyright (C) 2003, 2004 Chris Larson | ||
23 | # Copyright (C) 2005 Holger Hans Peter Freyther | ||
24 | # | ||
25 | # This program is free software; you can redistribute it and/or modify | ||
26 | # it under the terms of the GNU General Public License version 2 as | ||
27 | # published by the Free Software Foundation. | ||
28 | # | ||
29 | # This program is distributed in the hope that it will be useful, | ||
30 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
31 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
32 | # GNU General Public License for more details. | ||
33 | # | ||
34 | # You should have received a copy of the GNU General Public License along | ||
35 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
36 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
37 | # | ||
38 | #Based on functions from the base bb module, Copyright 2003 Holger Schurig | ||
39 | |||
41 | import sys, os, re, time, types | 40 | import sys, os, re, time, types |
42 | if sys.argv[0][-5:] == "pydoc": | 41 | if sys.argv[0][-5:] == "pydoc": |
43 | path = os.path.dirname(os.path.dirname(sys.argv[1])) | 42 | path = os.path.dirname(os.path.dirname(sys.argv[1])) |