Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/openpgm/pgm/version_generator.py 2014-04-11 09:00:35.021288054 +0200
- +++ b/openpgm/pgm/version_generator.py 2014-04-11 09:01:11.789661467 +0200
- @@ -1,5 +1,7 @@
- #!/usr/bin/python
- +from __future__ import print_function
- +
- import os
- import platform
- import time
- @@ -8,9 +10,9 @@ build_date = time.strftime ("%Y-%m-%d")
- build_time = time.strftime ("%H:%M:%S")
- build_rev = filter (str.isdigit, "$Revision: 1369 $")
- -print """
- +print ("""
- /* vim:ts=8:sts=8:sw=4:noai:noexpandtab
- - *
- + *
- * OpenPGM version.
- *
- * Copyright (c) 2006-2011 Miru Limited.
- @@ -19,12 +21,12 @@ print """
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- - *
- + *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- - *
- + *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- @@ -47,6 +49,6 @@ const char* pgm_build_revision = "%s";
- /* eof */
- -"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
- +"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
- # end of file
Advertisement
Add Comment
Please, Sign In to add comment