Просмотр исходного кода

* Fix typo in error message when encountering unknown t...
Author: mdz
Date: 2004-06-07 23:08:00 GMT
* Fix typo in error message when encountering unknown type in source list
(Closes: #253217)

Arch Librarian лет назад: 22
Родитель
Сommit
9a2331e1e3
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 2
      apt-pkg/sourcelist.cc
  2. 2 0
      debian/changelog

+ 2 - 2
apt-pkg/sourcelist.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: sourcelist.cc,v 1.24 2002/07/08 04:18:07 jgg Exp $
+// $Id: sourcelist.cc,v 1.25 2004/06/07 23:08:00 mdz Exp $
 /* ######################################################################
 
    List of Sources
@@ -267,7 +267,7 @@ bool pkgSourceList::Read(string File)
 
       Type *Parse = Type::GetType(LineType.c_str());
       if (Parse == 0)
-	 return _error->Error(_("Type '%s' is not known in on line %u in source list %s"),LineType.c_str(),CurLine,File.c_str());
+	 return _error->Error(_("Type '%s' is not known on line %u in source list %s"),LineType.c_str(),CurLine,File.c_str());
       
       // Authenticated repository
       Vendor const *Vndr = 0;

+ 2 - 0
debian/changelog

@@ -15,6 +15,8 @@ apt (0.5.26) unstable; urgency=low
     affect apt-get build-dep as well as apt-get source
   * Remove aborted remnants of a different method of implementing DEB_BUILD_OPTIONS
     from debian/rules
+  * Fix typo in error message when encountering unknown type in source list
+    (Closes: #253217)
 
  --