VirtualBox

Ignore:
Timestamp:
Nov 20, 2017 5:57:01 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119182
Message:

gen-sql-comments.py: no trailing spaces in generated license header

Location:
trunk/src/VBox/ValidationKit/testmanager/db
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/db/TestManagerDatabaseComments.pgsql

    r69777 r69778  
    44--
    55
    6 -- 
     6--
    77-- Copyright (C) 2012-2017 Oracle Corporation
    8 -- 
     8--
    99-- This file is part of VirtualBox Open Source Edition (OSE), as
    1010-- available from http://www.virtualbox.org. This file is free software;
     
    1414-- VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    1515-- hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 -- 
     16--
    1717-- The contents of this file may alternatively be used under the terms
    1818-- of the Common Development and Distribution License Version 1.0
     
    2020-- VirtualBox OSE distribution, in which case the provisions of the
    2121-- CDDL are applicable instead of those of the GPL.
    22 -- 
     22--
    2323-- You may elect to license modified versions of this file under the
    2424-- terms and conditions of either the GPL or the CDDL or both.
    25 -- 
     25--
    2626
    2727
  • trunk/src/VBox/ValidationKit/testmanager/db/gen-sql-comments.py

    r69448 r69778  
    214214    print("");
    215215    for sLine in __copyright__.split('\n'):
    216         print("-- %s" % (sLine,));
     216        if len(sLine) > 0:
     217            print("-- %s" % (sLine,));
     218        else:
     219            print("--");
    217220    print("");
    218221    print("");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette