Author: lslezak Date: Fri Sep 23 14:07:26 2011 New Revision: 65979 URL: http://svn.opensuse.org/viewcvs/yast?rev=65979&view=rev Log: removed obsoleted Pkg::LastErrorId() function Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/PkgFunctions.cc trunk/pkg-bindings/src/PkgFunctions.h Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=65979&r1=65978&r2=65979&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Fri Sep 23 14:07:26 2011 @@ -5,8 +5,8 @@ Pkg::GetSelections(), Pkg::GetPatterns(), Pkg::SelectionData(), Pkg::SelectionContent(), Pkg::SetSelection(), Pkg::ClearSelection(), Pkg::ActivateSelections() -- removed obsoleted Pkg::TargetLogfile(), Pkg::TargetProducts() - functions +- removed obsoleted Pkg::TargetLogfile(), Pkg::TargetProducts(), + Pkg::LastErrorId() functions ------------------------------------------------------------------- Thu Sep 22 13:26:20 UTC 2011 - lslezak@suse.cz Modified: trunk/pkg-bindings/src/PkgFunctions.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/PkgFunctions.cc?rev=65979&r1=65978&r2=65979&view=diff ============================================================================== --- trunk/pkg-bindings/src/PkgFunctions.cc (original) +++ trunk/pkg-bindings/src/PkgFunctions.cc Fri Sep 23 14:07:26 2011 @@ -206,30 +206,6 @@ } /** - * @builtin LastErrorId - * @short Obsoleted function, do not use - * @return string - */ -YCPValue -PkgFunctions::LastErrorId () -{ - - /* TODO FIXME - int errorId = _last_error; - switch ( errorId ) { - case PMError::E_ok: - return YCPString( "ok" ); - case InstSrcError::E_isrc_cache_duplicate: - return YCPString( "instsrc_duplicate" ); - default: - return YCPString( "error" ); - } - */ - - return YCPString( "ok" ); -} - -/** * @builtin Init * @short completely initialize package management (currently it is empty) * @return boolean true on success Modified: trunk/pkg-bindings/src/PkgFunctions.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/PkgFunctions.h?rev=65979&r1=65978&r2=65979&view=diff ============================================================================== --- trunk/pkg-bindings/src/PkgFunctions.h (original) +++ trunk/pkg-bindings/src/PkgFunctions.h Fri Sep 23 14:07:26 2011 @@ -259,8 +259,6 @@ YCPValue LastError (); /* TYPEINFO: string() */ YCPValue LastErrorDetails (); - /* TYPEINFO: string() */ - YCPValue LastErrorId (); /* TYPEINFO: boolean() */ YCPValue Init (); /* TYPEINFO: boolean() */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org