THat is the vacuum line. The original petcocks are vacuum operated so when there is vacuum in the carb manifold the petcock opens and lets gas out. If you have a regular petcock then you need to cap that vacuum barb on the manifold. Make sure no air can leak past it or you will have major problems.
A tire valve cap would probably seal it up pretty well.