#70 deprecate spin-livecd with spin-livemedia
Merged 9 years ago by mikeb. Opened 9 years ago by ausil.
Unknown source livecd-deprecate  into  master

file modified
+1
@@ -5210,6 +5210,7 @@

      (task_options, args) = parser.parse_args(args)

  

      # Make sure the target and kickstart is specified.

+     print 'spin-livecd is deprecated and will be replaced with spin-livemedia'

      if len(args) != 5:

          parser.error(_("Five arguments are required: a name, a version, an" +

                         " architecture, a build target, and a relative path to" +

no initial comment

Sure! :+1:

Python has this built in machinery for registering deprecation warnings, like this:

import warnings
warnings.warn("this is deprecated", DeprecationWarning)

The only problem is that it doesn't print anything out, and so is not very useful for end-users. :(

:+1: to merge as-is, except... @ausil, there's a merge conflict. Can you rebase on master?

rebased

9 years ago

Looks good to go, here.

+1

Pull-Request has been merged by mikeb

9 years ago
Metadata